def decide.agreed

ezx@1.11.0.0 · src/pub/plan.bend:1097

import ezx@1.11.0.0/src/pub/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/pub/world.bend as PW

1097# the upload answered: bend's answer agrees, or the command refuses
1098def decide.agreed(ok: Bool, +world: PW.World) -> Verdict:
1099  match ok:
1100    case True{}:
1101      Go{}
1102    case False{}:
1103      Stop{why.upload(world)}

Uses (4)

Used by (1)