new tart.State(fn)
Tart State class for state machines.
Name | Type | Description |
---|---|---|
fn |
function |
The state function to be executed. |
Tart State class for state machines.
Name | Type | Description |
---|---|---|
fn |
function |
The state function to be executed. |