Skip to content

@yantrix/automata v0.0.2Docs


Yantrix API / @yantrix/automata / TAutomataEventStack

Type Alias: TAutomataEventStack<EventType, EventMetaType>

ts
type TAutomataEventStack<EventType, EventMetaType>: TAutomataEventMetaType<EventType, EventMetaType>[];

Stack for automata events.

Type Parameters

EventType extends TAutomataBaseEventType

EventMetaType extends { [K in EventType]: any } = Record<EventType, any>