State machine function used in withStateMachine.
type of machine state
type of values to be emitted
type of values in the input events
current state of the state machine.
input event to react on
a tuple containing the next state and an array of events to be emitted.
Generated using TypeDoc