Event Handler
Handler for a specific event within a state.
Functions
Link copied to clipboard
Adds a side effect that only uses the state.
Adds a side effect to be executed when this event is handled.
Link copied to clipboard
Defines a transition to a new state.
Defines a transition using a function of the current state.
Link copied to clipboard
Defines a transition using both current state and event.