Liking cljdoc? Tell your friends :D

boundary.workflow.core.machine

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.
raw docstring

initial-stateclj

(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
sourceraw docstring

statesclj

(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
sourceraw docstring

transitionsclj

(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
sourceraw docstring

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