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