examples/

directory
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2026 License: MIT

Directories

Path Synopsis
Command quickstart is the README example: a counter machine driven by events, then persisted and restored.
Command quickstart is the README example: a counter machine driven by events, then persisted and restored.
Command realtime-timer shows how to drive a machine's delayed ("after") transitions with the OS clock in a standalone program.
Command realtime-timer shows how to drive a machine's delayed ("after") transitions with the OS clock in a standalone program.
Command trafficlight is the canonical compound-state example: red → green → yellow → red, with a pedestrian "walk" sub-state inside red.
Command trafficlight is the canonical compound-state example: red → green → yellow → red, with a pedestrian "walk" sub-state inside red.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL