FsmTransitionMap
FsmTransitionMap<
SName,Command,Event,Data> ={ readonly [state in SName]?: { readonly [K in Command["kind"]]?: PersistentFsmTransition<SName, Extract<Command, { kind: K }>, Event, Data> } & { _timeout?: FsmStateTimeout<SName, Event, Data> } }
Defined in: src/fsm/PersistentFSM.ts:178
Transition table — state × command.kind → transition entry. The
mapped type narrows Command to the matching variant inside each
entry so the entry’s callbacks see the right command shape. An
optional _timeout field declares the per-state timeout (#65).
Type Parameters
Section titled “Type Parameters”SName extends string
Command
Section titled “Command”Command extends object
Event
Data
