Skip to content

@yantrix/automata v0.6.0 • Docs


Yantrix API / @yantrix/automata / TSliceMachine

Type Alias: TSliceMachine<EventType, EventMetaType> ​

ts
type TSliceMachine<EventType, EventMetaType>: IAutomata<any, any, EventType, any, any, EventMetaType>;

An FSM that shares its Slice's Event IDs and Event Meta.

Type Parameters ​

• EventType extends TAutomataBaseEventType

• EventMetaType extends { [K in EventType]: any }