def ask.pt

ezx@1.11.0.0 · src/fetch/plan.bend:809

import ezx@1.11.0.0/src/fetch/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/fetch/world.bend as F

809# one package's open question, ahead of the rest
810def ask.pt(pt: Pt, +here: String, +hub: String, rest: List<&2, F.Ask>) -> List<&2, F.Ask>:
811  Pt{+h, src, _fs, p} = pt
812  match p:
813    case AskLaid{}:
814      F.Laid{h} <> rest
815    case AskFetch{}:
816      fetch.ask(src, here, hub, h) <> rest
817    case _:
818      rest

Uses (6)

Used by (1)