The type of definition for state machine.
The type of state value.
Readonly
context: Context<D>The current context.
Readonly
event: TransitionEventForStateValue<D, V>The event that caused the state transition.
Readonly
nextThe next events that can be sent to the state machine.
Readonly
value: VThe current state value.
The current state of the state machine.