Skip to main content

gate

Function gate 

Source
pub fn gate(plan: &Plan) -> Result<(), RkError>
Expand description

Refuse anything but a ready plan.

ยงErrors

A refusal with Reason::PlanNotReady naming the unresolved decision ids for a plan that needs a decision, or the failed required preconditions for a blocked one.