def run
import cswap-bend-cli@0.1.0.0/daemon/walk.bend as Walkimport Base
import cswap-bend-cli@0.1.0.0/act.bend as Act
import cswap-bend-cli@0.1.0.0/daemon/tick.bend as Tk
import cswap-bend-cli@0.1.0.0/daemon/gather.bend as G
279# Up to 16 candidates are tried per tick (autoswitch.py walks the whole ranking;
280# Bend has no mutual recursion for an unbounded loop here). A longer ranking is
281# finished on the next tick: the ones found dead are quarantined by then.
282def run(+env: Tk.Env, +t0: U32, +ts: String, +m: Maybe<&2, G.Snap>) -> Act.of(Tk.Out):
283 walk(W{env, t0, ts, m})