FsmTransitionMap
FsmTransitionMap<
SName,Cmd,Event,Data> ={ readonly [state in SName]?: { readonly [K in Cmd["kind"]]?: PersistentFsmTransition<SName, Extract<Cmd, { kind: K }>, Event, Data> } & { _timeout?: FsmStateTimeout<SName, Event, Data> } }
Defined in: src/fsm/PersistentFSM.ts:172
Transition table — state × cmd.kind → transition entry. The
mapped type narrows Cmd 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
Cmd extends object
Event
Data