Skip to main content

@jewel998/state-machine - v0.0.5 / StateAction

Interface: StateAction<TContext, TState>

Type parameters​

NameType
TContextextends ContextConstraint
TStateextends StateIdentifier

Table of contents​

Properties​

Properties​

state​

• Readonly state: TState

Defined in​

src/interfaces/ConfigurationTypes.ts:50


action​

• Readonly action: ActionFunction<TContext>

Defined in​

src/interfaces/ConfigurationTypes.ts:51


metadata​

• Optional Readonly metadata: Readonly<Record<string, string | number | boolean>>

Defined in​

src/interfaces/ConfigurationTypes.ts:52