def snap_out2
import cswap-bend-cli@0.1.0.0/daemon/tick.bend as Tickimport Base
import cswap-bend-cli@0.1.0.0/daemon/gather.bend as G
396def snap_out2(env: Env, +now: U32, +ts: String, +s: G.Snap, +active: Maybe<&2, String>) -> Next:
397 match active:
398 case None{}:
399 NDone{idle_out(env, ts, has_live(s))}
400 case Some{a}:
401 active_out(env, s, a, now, ts)