statebot
    Preparing search index...

    Function Statebot

    • Create a TStatebotFsm object.

      Parameters

      Returns TStatebotFsm

      import { Statebot } from 'statebot'

      let machine = Statebot('lemming', {
      chart: `
      walking -> (digging | building | falling) ->
      walking

      falling -> splatting
      walking -> exiting
      `
      })