Skip to content
nmichaels edited this page Nov 4, 2017 · 1 revision

There is more extensive documentation in the tutorial, and there are examples in the /examples directory, but here's a simple state machine that moves between 2 states when sent an event:

state-machine
{
     *A
     [
          event --> B
     ],
     B
     [
          event --> A
     ]
}

Clone this wiki locally