-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[core] Transition function #4954
base: main
Are you sure you want to change the base?
Conversation
|
Just a reminder to remove commented lines before merging 💜 |
This PR adds the
transition(…)
function for returning a[snapshot, actions]
tuple given the machine, state, and event.Its main use-case is for server-side workflows and a pure way of handling state transitions for actor logic.