def record_live

cswap-bend-cli@0.1.0.0 · daemon/sess.bend:321

import cswap-bend-cli@0.1.0.0/daemon/sess.bend as Sess
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json

321def record_live(r: Result<&2, &2, String, Json.Json>) -> IO(Bool):
322  match r:
323    case Fail{e}:
324      IO.pure(Bool, False{})
325    case Done{+j}:
326      record_live2(pid_of(j), stamp_of(j))

Uses (9)

Used by (1)