def on_act

cswap-bend-cli@0.1.0.0 · daemon/walk.bend:238

import cswap-bend-cli@0.1.0.0/daemon/walk.bend as Walk
import Base
import cswap-bend-cli@0.1.0.0/act.bend as Act
import cswap-bend-cli@0.1.0.0/daemon/dec.bend as Dc
import cswap-bend-cli@0.1.0.0/daemon/tick.bend as Tk

238def on_act(w: W, tr: Trail, +o: Tk.Out, c: Dc.Ctx, d: Dc.Dec) -> Act.of(Move):
239  match d:
240    case Dc.DGo{+to, +email, trig, lh, lr}:
241      on_go(w, tr, o, c, d, to, email)
242    case _:
243      on_other(w, tr, o, c, d)

Uses (9)

Used by (1)