def status.of

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

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

366def status.of(got: PW.Heard) -> Status:
367  match got:
368    case PW.Open{}:
369      StatusWait{}
370    case PW.Heard{a}:
371      status.answer(a)

Uses (3)

Used by (1)