API Reference reactor v0.3.0

modules

Modules

Reactor is a dynamic, concurrent, dependency resolving saga orchestrator.

A step argument.

A protocol which can be used to convert something into an argument.

Build a new Reactor programmatically.

Handle composition of Reactors for the builder.

Handle adding inputs to Reactors for the builder.

Handle building and adding steps to Reactors for the builder.

The struct used to store argument DSL entities.

The around DSL entity struct.

A protocol which DSL entities must implement.

The compose DSL entity struct.

The group DSL entity struct.

The struct used to store input DSL entities.

The struct used to store step DSL entities.

Runs Reactor.Dsl.Build.verify/2 for all the entities in the reactor.

An error used when attempting to compose to Reactors together.

An error thrown during the planning of a Reactor.

An error which occurs when building and running transforms.

The Reactor executor.

Handle the asynchronous execution of a batch of steps, along with any mutations to the reactor or execution state.

Manage shared concurrency pools for multiple Reactors.

Handle argument checking and state setup for a Reactor run.

Contains the reactor execution state.

Run an individual step, including compensation if possible.

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

Introspection for the Reactor DSL.

Build an execution plan for a Reactor.

The Step behaviour and struct.

The built-in step for executing in-line DSL anonymous functions.

Wrap the execution of a number of steps in a function.

A built-in step which can embed one reactor inside another.

When doing run-time composition of Reactors we need to dynamically rewrite any dynamically emitted steps to have the correct namespace.

Wrap the execution of a number of steps with before/after functions.

A very simple step which simply returns all it's arguments unchanged.

The built-in step for executing input and argument transformations.

A built-in step which applies a transformation function to all it's arguments.

The input template.

The result template.

A statically value template.