You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Use TypedEvent inheritance for callback behavior (#755)
Move away from "callback" nested properties in the dict and explicitly passing invocation_state migrating to behaviors on the TypedEvent:
- TypedEvent.is_callback_event for determining if an event should be yielded and or invoked in the callback
- TypedEvent.prepare for taking in invocation_state
Customers still only get dictionaries, as we decided that this will remain an implementation detail for the time being, but this makes the events typed all the way up until *just* before we yield events back to the caller
---------
Co-authored-by: Mackenzie Zastrow <zastrowm@users.noreply.github.com>
0 commit comments