-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A complete rewrite of how inputs work. BREAKING CHANGE: The StateMachine class now recognises the distinction between State and Input. A second generic argument is need (`StateMachine<State, InputSource>`) that defined the layout of the input source. The `@input` decorator must now decorate fields on the input source itself. The state object passed to condition and actions is now a union of State & Input, but the return value from actions can only be a partial State.
- Loading branch information
1 parent
37e82e3
commit 452ec70
Showing
11 changed files
with
503 additions
and
367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.