-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StateTransitionEvent #11089
StateTransitionEvent #11089
Conversation
haven't even checked that it works lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting move. Just a couple of terminology nits.
Co-authored-by: Federico Rinaldi <gisquerin@gmail.com>
just making sure y'all aren't waiting for me to do something |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks almost right. Just a small doc nit I forgot. For the rest it's ok.
Co-authored-by: Federico Rinaldi <gisquerin@gmail.com>
I know I'm a bit late on this, but @SIGSTACKFAULT could you maybe give #10334 a look. I think it also does cover your use case and in addition to that it allows to react to arbitrary state changes at the "right" time (in between enter/exit). |
Objective
Solution
StateTransitionEvent<S>
structChangelog
StateTransitionEvent<S>
- Fired on state changes ofS
Migration Guide
N/A no breaking changes