View Source Reactor.Builder.Step (reactor v0.3.4)
Handle building and adding steps to Reactors for the builder.
You should not use this module directly, but instead use
Reactor.Builder.new_step/4
and Reactor.Builder.add_step/5
.
Summary
Functions
@spec add_step( Reactor.t(), any(), Reactor.Builder.impl(), [Reactor.Builder.step_argument()], Reactor.Builder.step_options() ) :: {:ok, Reactor.t()} | {:error, any()}
Build and add a new step to a Reactor.
@spec new_step( any(), Reactor.Builder.impl(), [Reactor.Builder.step_argument()], Reactor.Builder.step_options() ) :: {:ok, Reactor.Step.t()} | {:error, any()}
Dynamically build a new step for later use.
You're most likely to use this when dynamically returning new steps from an existing step.