Expand description
Workflow engine. DAG of Steps; state is event-sourced and
resumable.
Structs§
- Concurrency
- Dag
- Static structure of a workflow. Steps are stored separately from their adjacency to keep the runtime types simple.
- FnInterrupt
Step - Closure-friendly InterruptibleStep.
- FnStateful
Step - Human
Approval - InMemory
Journal - Input
Mapping - Interrupt
Ctrl - Per-run interrupt control passed to a step. A step calls
ctrl.interrupt(payload)to pause; on resume the runner returns the value fromCommand::Resume(...). - Interruptible
- Plain
Step - Adapter that turns any
StatefulStepinto anInterruptibleStep. - Stateful
Runner - StepId
- Subgraph
- Subgraph-as-callable. Returns a JSON object with two keys:
outputs(the projected output channels) andprivate_state(the full child snapshot, included when callers want to inspect child-only channels). - Workflow
Runner - Workflow
State
Enums§
- Command
- Join
Strategy - Pause
Reason - RunOutcome
- Step
- One step in a workflow’s DAG.
- Workflow
Event - Events appended to the workflow’s journal. State is rebuilt by folding these in order.
Traits§
- Branch
Predicate - Pure predicate over the workflow’s running state. Used by
BranchandLoop. - Interruptible
Step StatefulStepextension that gets the interrupt ctrl as well.- Journal
- Pluggable journal abstraction. Phase 6 ships the in-memory
implementation; production setups plug in a journal backed by
atomr-persistence. - Stateful
Step
Functions§
- dispatch_
fan_ out - Run
producerto obtain a list of inputs, then dispatch each throughtargetwith at mostconcurrencyrunning concurrently. Returns the per-input outputs in original order.