def reserve.take

cswap-bend-cli@0.1.0.0 · ustore.bend:152

import cswap-bend-cli@0.1.0.0/ustore.bend as Ustore
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json

152def reserve.take(+rows: Json.Json, +id: Id, +row: Json.Json, +claim: String, +now: U32, won: List<&2, Claim>) -> RR:
153  match id:
154    case Id{slot, email, org}:
155      RR{Json.set(slot, claim_row(row, claim, now), rows), Claim{slot, claim} <> won}

Uses (9)

Used by (2)