View Source Reactor.Executor.Sync (reactor v0.10.2)

Handle the synchronous execution of a single step, along with any mutations to the reactor or execution state.

Summary

Functions

Try and run a step synchronously.

Functions

Link to this function

run(reactor, state, step)

View Source
@spec run(Reactor.t(), Reactor.Executor.State.t(), Reactor.Step.t() | nil) ::
  {:continue | :recurse | :halt | :undo, Reactor.t(),
   Reactor.Executor.State.t()}

Try and run a step synchronously.