Reactor.Builder.Compose (reactor v0.12.1)
View SourceHandle composition of Reactors for the builder.
The composition logic was getting complicated enough that it seemed sensible to extract it from the builder - if only to aid readability.
You should not use this module directly, but instead use
Reactor.Builder.compose/4
.
Summary
Functions
Compose another Reactor inside this one.
Functions
@spec compose( Reactor.t(), atom(), Reactor.t() | module(), [Reactor.Builder.step_argument()], keyword() ) :: {:ok, Reactor.t()} | {:error, any()}
Compose another Reactor inside this one.
Options
:guards
(list of value that implements theReactor.Guard.Build
protocol) - The default value is[]
.