Skip to content

@yantrix/automata v0.0.2Docs


Yantrix API / @yantrix/automata / TAutomataQueue

Type Alias: TAutomataQueue<ActionType, PayloadType>

ts
type TAutomataQueue<ActionType, PayloadType>: TAutomataActionPayload<ActionType, PayloadType>[];

Queue for automata actions.

Type Parameters

ActionType extends TAutomataBaseActionType

PayloadType extends { [K in ActionType]: any } = Record<ActionType, any>