Liking cljdoc? Tell your friends :D

Changelog

0.2.7 — 2026-12-04

  • taia.state-machines.flow: machine-flow, a core.async flow config running the same steps and invokes as transition, out on one channel as {:id :ctx :event :entered :done?}. With {:async? true} in the opts every microstep comes out, the last :done?; without it, only the last. Any other key of a message rides along; an error ends the run as the last message's :error; :around-invoke wraps each :src. Needs org.clojure/core.async with flow (an optional dependency in the pom).
  • Its two procs are public too, for a flow of your own: machine-step and invoke-step (step fns for flow/process), and their machine-transform / invoke-transform. taia.ds builds its component flow from them.
  • state/entered-invoke is public (it moved from transition, which still uses it).

0.1.3 — 2026-12-03

Extracted from taia.ds 0.5.0 (components/state-machines). Moving over from it:

  • Namespaces: taia.ds.state-machines.interface → taia.state-machines.core, taia.ds.state-machines.interface.test-helpers → taia.state-machines.test-helpers.
  • An invoke runs when a transition takes a target into its state, not whenever the machine ends up there: an event handled in an invoking state without a target, or one it does not handle, no longer runs its :src again (a self-target still does: a retry).
  • :on-done and :on-error are reserved event names, always answered from the current state's :invoke.

Can you improve this documentation?Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close