def reserve.stored

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

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

160def reserve.stored(ok: Bool, +rows: Json.Json, +id: Id, +row: Json.Json, +claim: String, +now: U32, won: List<&2, Claim>) -> RR:
161  match ok:
162    case True{}:
163      reserve.take(rows, id, row, claim, now, won)
164    case False{}:
165      RR{rows, won}

Uses (9)

Used by (1)