Class: State

State

new tart.State(fn)

Tart State class for state machines.

Name Type Description
fn function

The state function to be executed.