@jewel998/state-machine - v0.0.5 / ICommand
Interface: ICommand<TResult>
Command pattern for state machine actions and transitions
Type parameters
| Name | Type |
|---|---|
TResult | void |
Implemented by
Table of contents
Methods
Methods
execute
▸ execute(): TResult
Returns
TResult
Defined in
undo
▸ undo(): void
Returns
void
Defined in
canUndo
▸ canUndo(): boolean
Returns
boolean