GitHub

ExecutionPlan

API reference for ExecutionPlan.

ExecutionPlan[P, In, E, R]: steps to try in order until one succeeds. P is what every step provides, In the errors the steps' predicates and schedules accept, E and R what building the steps' layers and running their predicates and schedules may fail with and need. Build one with make or merge.

Attributes

AttributeTypeDescription
stepstuple[Step[P_contra, In_contra, E_co, R_co], ...]
capture_requirementsEffect[ExecutionPlan[P_contra, In_contra, E_co], Never, R_co]

The plan with the current services baked into every step's layer, predicate and schedule, so it no longer needs R. The captured services win over those where the plan later runs.

Functions

__init__

__init__(steps) -> None
ParameterTypeDescription
stepstuple[Step[P_contra, In_contra, E_co, R_co], ...]