Pollrow.lease_until: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/pollrow.bend as Pollrow Lines 195-201 of cswap-bend-cli@0.1.0.0/pollrow.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/pollrow.bend&start_line=195&end_line=201 import Base # A claim lease: claimUntil, else the legacy 10 s after lastAttemptAt. def lease_until(cu: Maybe<&2, U32>, la: Maybe<&2, U32>) -> Nat: match cu: case Some{c}: U32.to_nat(c) case None{}: legacy_until(la) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_nat https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/pollrow.bend&name=legacy_until