@jewel998/state-machine - v0.0.5 / ICommandInvoker
Interface: ICommandInvoker
Implemented by
Table of contents
Methods
Methods
executeCommand
▸ executeCommand<TResult>(command): TResult
Type parameters
| Name |
|---|
TResult |
Parameters
| Name | Type |
|---|---|
command | ICommand<TResult> |
Returns
TResult
Defined in
undo
▸ undo(): boolean
Returns
boolean
Defined in
canUndo
▸ canUndo(): boolean
Returns
boolean
Defined in
clearHistory
▸ clearHistory(): void
Returns
void