def decide.status

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

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

1167# git status: asked, answered, or failed
1168def decide.status(said: Status, +world: PW.World) -> Verdict:
1169  match said:
1170    case Said{+text}:
1171      decide.clean(dirty(text), text, world)
1172    case StatusWait{}:
1173      Pending{[locate(world)]}
1174    case StatusNo{why}:
1175      Stop{why}

Uses (7)

Used by (1)