transition To
Defines a transition to a new state.
Parameters
new State
The state to transition to
Defines a transition using a function of the current state.
Parameters
transition
The transition function
Defines a transition to a new state.
The state to transition to
Defines a transition using a function of the current state.
The transition function