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