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).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).Extracted from taia.ds 0.5.0 (components/state-machines). Moving over from it:
taia.ds.state-machines.interface → taia.state-machines.core,
taia.ds.state-machines.interface.test-helpers → taia.state-machines.test-helpers.: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
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |