BehavioralFsmEventMap
BehavioralFsmEventMap<
TClient,TStateNames> ={ [K in keyof FsmEventMap<TStateNames>]: FsmEventMap<TStateNames>[K] & { client: TClient } }
Defined in: types.ts:488
Built-in event map for BehavioralFsm instances.
Every payload is intersected with { client: TClient } so subscribers
can identify which client the event pertains to.
Type Parameters
Section titled “Type Parameters”TClient
Section titled “TClient”TClient
The client object type
TStateNames
Section titled “TStateNames”TStateNames extends string = string
The state name union