A simple state machine implementation, in Swift, which imitates a coffee machine. Each state knows where it can go next based upon the results of the actions after async operation. To run it, use the Unit Test.
-
Notifications
You must be signed in to change notification settings - Fork 0
A simple state machine implementation, in Swift, which models a coffee machine. Each state knows where it can go next based upon the results of the actions after async operation. To use this you would probably want to have an update method to notify the UI layer of the state changes. To run it, use the Unit Test.
possen/StateMachine
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A simple state machine implementation, in Swift, which models a coffee machine. Each state knows where it can go next based upon the results of the actions after async operation. To use this you would probably want to have an update method to notify the UI layer of the state changes. To run it, use the Unit Test.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published