def end

ezx@1.11.0.0 · src/lock/run.bend:657

import ezx@1.11.0.0/src/lock/run.bend as Run
import Base
import ezx@1.11.0.0/src/lock/plan.bend as Plan

657# how the command ends: with the status the planner gave its outcome
658# (`Plan.status`, EZ-OUT-1), and the reason when it refused
659def end(+outcome: Plan.Outcome) -> IO(Unit):
660  +code = Plan.status(outcome)
661  end.at(U32.is_eq(code, 0), code, Plan.why(outcome))

Uses (7)

Used by (8)