def current_place

cswap-bend-cli@0.1.0.0 · store.bend:254

import cswap-bend-cli@0.1.0.0/store.bend as Store
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/act.bend as Act
import cswap-bend-cli@0.1.0.0/store/plan.bend as SPlan

254def current_place(+root: String, +id: Ident, +creds: String, +cfg_text: String, +alias: String, +ts: String, +seq: Json.Json, +p: SPlan.SlotPlan) -> Act.of(String):
255  match p:
256    case SPlan.SPErr{code, msg}:
257      Act.fail(String, code, msg)
258    case SPlan.SPOk{num, displace, migrate}:
259      current_place2(root, id, creds, cfg_text, alias, ts, seq, num, displace, migrate)

Uses (7)

Used by (1)