View Source Reactor.Executor.StepRunner (reactor v0.2.2)

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.

Link to this function

undo(reactor, step, value)

View Source
@spec undo(Reactor.t(), Reactor.Step.t(), any()) :: :ok | {:error, any()}

Undo a step if possible.