Holds a list of transitions that are possible to perform from the current state.
Current state of the Automaton.
Performs a Transition, calling it's lifecycle methods.
transition function or next finite machine state
custom arguments passed to the implementation function
Returns the transition that satisfies the following conditions:
Gets the list of all transitions that are possible to perform from the current state.
Generated using TypeDoc
The main automaton class, holds the state and provides methods for transitioning.
The state defaults to INITIAL.
You can extend this class to implement some custom logic.