Type alias EventStateMachineStructure<TState, TInput>

EventStateMachineStructure<TState, TInput>: Partial<Record<TState, Partial<Record<TInput["type"] | string, TState>>>>

Represents a state machine defined as a dictionary where states are keys and values are dictionary where events are keys and next state values

Type Parameters

Generated using TypeDoc