@yantrix/automata v0.2.0 • Docs
Yantrix API / @yantrix/automata / IAutomataActionContainer
Interface: IAutomataActionContainer<ActionType>
Interface for an Automata action container.
Extended by
Type Parameters
• ActionType extends TAutomataBaseActionType
The type of the action.
Properties
setActionValidator()
ts
setActionValidator: (actionValidator?) => this;Sets the action validator function.
Parameters
• actionValidator?: null | TValidator<ActionType>
The validator function for the action.
Returns
this
The current instance.
validateAction
ts
validateAction: TValidator<ActionType>;Validator function for the action.