-
Notifications
You must be signed in to change notification settings - Fork 16
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
Easy FSM Add-on: Makes making Finite State Machines with go-statemachine easier #4
Commits on Feb 24, 2020
-
feat(fsm): add finite state machine module
add module for constructing statehandlers as simple finite state machines, to support readable definitions, type checking, and testing
Configuration menu - View commit details
-
Copy full SHA for 5ac8748 - Browse repository at this point
Copy the full SHA 5ac8748View commit details -
feat(fsm): add synchronous event handling
Add the ability ot dispatch a synchronous event to the state machine and wait for a result
Configuration menu - View commit details
-
Copy full SHA for da5aba1 - Browse repository at this point
Copy the full SHA da5aba1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b253c92 - Browse repository at this point
Copy the full SHA b253c92View commit details -
refactor(fsm): switch to transition map
Use a full transition map for events to make them more flexible
Configuration menu - View commit details
-
Copy full SHA for b1ed3ec - Browse repository at this point
Copy the full SHA b1ed3ecView commit details -
feat(fsm): support fallback transitions
support a transition that applies to any source state
Configuration menu - View commit details
-
Copy full SHA for 971ff7d - Browse repository at this point
Copy the full SHA 971ff7dView commit details -
feat(fsm): add identifier getter
Add ability to get identifier for this instance of the state machine
Configuration menu - View commit details
-
Copy full SHA for 4f04d27 - Browse repository at this point
Copy the full SHA 4f04d27View commit details -
feat(fsm): add world building by identifier
Allow each instance of fsm to get a unique instance of outside dependencies
Configuration menu - View commit details
-
Copy full SHA for 859924d - Browse repository at this point
Copy the full SHA 859924dView commit details -
refactor(fsm): switch to notifier
remove universal events, add notifications, add params struct, make event name an interface
Configuration menu - View commit details
-
Copy full SHA for 050f1af - Browse repository at this point
Copy the full SHA 050f1afView commit details -
Revert "feat(fsm): add identifier getter"
This reverts commit 206d210.
Configuration menu - View commit details
-
Copy full SHA for 88e6fbf - Browse repository at this point
Copy the full SHA 88e6fbfView commit details -
refactor(fsm): revert to single environment
remove world by indentifier for simplicity, rename world to environment
Configuration menu - View commit details
-
Copy full SHA for 532cb72 - Browse repository at this point
Copy the full SHA 532cb72View commit details -
feat(fsm): more informative statehandler errors
add more data about why state handlers fail
Configuration menu - View commit details
-
Copy full SHA for 6733fe9 - Browse repository at this point
Copy the full SHA 6733fe9View commit details -
feat(fsm): add begin function to group
add begin function from base group to fsm group
Configuration menu - View commit details
-
Copy full SHA for 4545331 - Browse repository at this point
Copy the full SHA 4545331View commit details -
refactor(fsm): builder interfaces
simplify builders for state, extract state machine from event machine
Configuration menu - View commit details
-
Copy full SHA for 85461c4 - Browse repository at this point
Copy the full SHA 85461c4View commit details -
feat(fsm): add test context util
adds a utility class for testing state machines by allowing contexts to actually be replayed with a given event machine
Configuration menu - View commit details
-
Copy full SHA for a9094aa - Browse repository at this point
Copy the full SHA a9094aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c5b822 - Browse repository at this point
Copy the full SHA 8c5b822View commit details -
Configuration menu - View commit details
-
Copy full SHA for d855d86 - Browse repository at this point
Copy the full SHA d855d86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 054b5d1 - Browse repository at this point
Copy the full SHA 054b5d1View commit details
Commits on Feb 25, 2020
-
refactor(fsm): rename applyTransition to action
Rename applyTransition to action to match actual FSM concept it represents
Configuration menu - View commit details
-
Copy full SHA for c91c30c - Browse repository at this point
Copy the full SHA c91c30cView commit details
Commits on Feb 26, 2020
-
refactor(fsm): a few more renames
rename event -> trigger with context rename eventMachine -> eventProcessor rename eventProcessor.Event -> eventProcessor.Generate rename stateHandler -> stateEntryFunc
Configuration menu - View commit details
-
Copy full SHA for a2059e0 - Browse repository at this point
Copy the full SHA a2059e0View commit details -
feat(fsm): add err tracking to eventbuilder
track various DSL errors in event builder so it fails when used
Configuration menu - View commit details
-
Copy full SHA for fe83f89 - Browse repository at this point
Copy the full SHA fe83f89View commit details