Skip to content

@yantrix/automata v0.6.0 • Docs


Yantrix API / @yantrix/automata / TAutomataSliceProps

Type Alias: TAutomataSliceProps<ModelType, EventType, EventMetaType> ​

ts
type TAutomataSliceProps<ModelType, EventType, EventMetaType>: object;

Constructor configuration for one AutomataSlice composition unit.

Type Parameters ​

• ModelType extends object

• EventType extends TAutomataBaseEventType

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

Type declaration ​

effectMatrix? ​

ts
optional effectMatrix: TEffectMatrix<ModelType, EventType, EventMetaType>;

eventValidator? ​

ts
optional eventValidator: TValidator<EventType>;

id ​

ts
id: string;