Synapse.Workflow.Engine (Synapse v0.1.1)
View SourceExecutes declarative workflow specs (see Synapse.Workflow.Spec).
The engine evaluates dependencies, handles step-level retries, emits
telemetry ([:synapse, :workflow, :step, :*]), and surfaces structured
audit trails for both success and failure scenarios.
Summary
Functions
Executes a workflow spec with the provided :input and :context maps.
Types
Functions
@spec execute( Synapse.Workflow.Spec.t(), keyword() ) :: {:ok, success_t()} | {:error, failure_t()}
Executes a workflow spec with the provided :input and :context maps.