Open davidkpiano opened 1 week ago
Latest commit: 96ba826dcf06c4d310779e60efc96eec25ea03a2
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
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.