Liking cljdoc? Tell your friends :D

Get Started

Add the dep to to your project.clj/deps.edn/shadow-cljs.edn: Clojars Project

The basic usage pattern is very simple:

  • Define a machine
  • Define a service that runs the machine
  • Send events to trigger transitions on this machine.

{{< loadcode "samples/src/statecharts-samples/basic.clj" >}}

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close