View Source Reactor.Executor.StepRunner (reactor v0.2.0)
Run an individual step, including compensation if possible.
Link to this section Summary
Functions
Collect the arguments and and run a step, with compensation if required.
Undo a step if possible.
Link to this section Functions
@spec run(Reactor.t(), Reactor.Step.t()) :: {:ok, any(), [Reactor.Step.t()]} | :retry | {:error | :halt, any()}
Collect the arguments and and run a step, with compensation if required.
@spec undo(Reactor.t(), Reactor.Step.t(), any()) :: :ok | {:error, any()}
Undo a step if possible.