View Source Reactor.Planner (reactor v0.2.0)

Build an execution plan for a Reactor.

Converts any unplanned steps into vertices in a graph with directed edges between them representing their dependencies (arguments).

Link to this section Summary

Functions

Build an execution plan for a Reactor.

Link to this section Functions

@spec plan(Reactor.t()) :: {:ok, Reactor.t()} | {:error, any()}

Build an execution plan for a Reactor.

Builds a graph of the step dependencies, resolves them and then builds an execution plan.