Cadence.next_delay2: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/cadence.bend as Cadence Lines 73-80 of cswap-bend-cli@0.1.0.0/daemon/cadence.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/cadence.bend&start_line=73&end_line=80 import Base def next_delay2(o: Outcome, info: Info, +now: U32, +interval: U32) -> U32: match o info: case Blocked{} Info{oc, until, long, idle, np}: blocked_delay(until, long, now, interval, respect_plan(np, now, interval)) case NoAction{} Info{oc, until, long, idle, np}: sel(idle, max_u(interval, no_reset_fallback()), respect_plan(np, now, interval)) case _ Info{oc, until, long, idle, np}: respect_plan(np, now, interval) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/cadence.bend&name=Info https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/cadence.bend&name=Outcome https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/cadence.bend&name=blocked_delay https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/cadence.bend&name=max_u https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/cadence.bend&name=no_reset_fallback https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/cadence.bend&name=respect_plan https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/cadence.bend&name=sel