def lead_of
import cswap-bend-cli@0.1.0.0/daemon/walk.bend as Walkimport Base
import cswap-bend-cli@0.1.0.0/daemon/tick.bend as Tk
66# The first decision's Out (its poll events), else the one at hand.
67def lead_of(t: Trail, +o: Tk.Out) -> Tk.Out:
68 match t:
69 case Trail{s, e, tr, Some{f}, sy}:
70 f
71 case _:
72 o