Pure workflow state-machine introspection.
Helpers for reading the shape of a WorkflowDefinition map (states, initial state, transitions). No mutable state and no I/O.
The definition registry and the defworkflow macro live in the shell
(boundary.workflow.shell.registry) — this namespace holds no mutable state.
Pure workflow state-machine introspection. Helpers for reading the shape of a WorkflowDefinition map (states, initial state, transitions). No mutable state and no I/O. The definition registry and the `defworkflow` macro live in the shell (boundary.workflow.shell.registry) — this namespace holds no mutable state.
(initial-state definition)Return the initial state of the workflow.
Args: definition - WorkflowDefinition map
Returns: Keyword
Return the initial state of the workflow. Args: definition - WorkflowDefinition map Returns: Keyword
(states definition)Return the set of states defined in the workflow.
Args: definition - WorkflowDefinition map
Returns: Set of keyword states
Return the set of states defined in the workflow. Args: definition - WorkflowDefinition map Returns: Set of keyword states
(transitions definition)Return all transition definitions for the workflow.
Args: definition - WorkflowDefinition map
Returns: Vector of TransitionDef maps
Return all transition definitions for the workflow. Args: definition - WorkflowDefinition map Returns: Vector of TransitionDef maps
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 |