Durable.Executor.StepRunner (Durable v0.1.0-rc)
View SourceExecutes individual workflow steps with retry logic and log capture.
Pipeline Model
Steps receive data from the previous step and return {:ok, data} or {:error, reason}.
The first step receives the workflow input.
Summary
Functions
Executes a step with retry logic.
Types
Functions
@spec execute(Durable.Definition.Step.t(), map(), String.t(), Durable.Config.t()) :: result()
Executes a step with retry logic.
Arguments
step- The step definitiondata- The data to pass to the step (from previous step or workflow input)workflow_id- The workflow execution IDconfig- The Durable config
Returns {:ok, data} on success or {:error, reason} after all retries exhausted.