def plan_res

cswap-bend-cli@0.1.0.0 · store/plan.bend:102

import cswap-bend-cli@0.1.0.0/store/plan.bend as Plan
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json

102def plan_res(r: Result<&2, &2, String, Json.Json>, +now: U32) -> Plan:
103  match r:
104    case Fail{e}:
105      PSkip{"no access token to resolve"}
106    case Done{+j}:
107      plan3(token_of(j), expiry_of(j), now)

Uses (8)

Used by (1)