Ustore.reserve: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/ustore.bend as Ustore Lines 204-208 of cswap-bend-cli@0.1.0.0/ustore.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/ustore.bend&start_line=204&end_line=208 import Base import cswap-bend-cli@0.1.0.0/act.bend as Act # Atomically win the right to fetch: re-check each slot's eligibility and # stamp a 90 s lease under the lock (UsageStore.reserve). `respect` is the # on-demand mode (stale AND poll-due), `repair` also frees a reset-parked plan. def reserve(+root: String, ids: List<&2, Id>, +now: U32, +respect: Bool, +repair: Bool, +tick: Nat) -> Act.of(List<&2, Claim>): with_usage_lock(List<&2, Claim>, root, reserve.act(root, ids, now, respect, repair, tick)) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String 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/act.bend&name=of https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/ustore.bend&name=Claim https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/ustore.bend&name=Id https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/ustore.bend&name=reserve.act https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/ustore.bend&name=with_usage_lock