Skip to content

Examples Overview

AFSM ships with the following interactive examples. Each runs in-place — tweak params, view the diagram and timeline.

ExampleDescription
Connectionsimulates a network connection with reconnect
setTimeout timerone-shot timer
setInterval timerrecurring timer
Traffic Lightcyclic state machine
Data Fetchrequest with retry

You can also switch examples on the Playground page.