Create a TStatebotFsm object.
object
import { Statebot } from 'statebot'let machine = Statebot('lemming', { chart: ` walking -> (digging | building | falling) -> walking falling -> splatting walking -> exiting `})
Give your Statebot a name. Used for logging and by assertRoute.
Generated using TypeDoc
Create a TStatebotFsm
object
.Example