Skip to content
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

Break out invoke types #109

Merged
merged 3 commits into from
Apr 2, 2020
Merged

Break out invoke types #109

merged 3 commits into from
Apr 2, 2020

Conversation

matthewp
Copy link
Owner

@matthewp matthewp commented Apr 2, 2020

This breaks out the two invoke types, promises and machines, so that machine has more control over how its state is entered. This allows immediate transitions out of the child machine, something that wouldn't be possible with the thenable approach previously taken.

Fixes #102

@matthewp matthewp merged commit 1597520 into master Apr 2, 2020
@matthewp matthewp deleted the imm-nested branch April 2, 2020 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] Immediate doesn't trigger onChange event
2 participants