def record_live
import cswap-bend-cli@0.1.0.0/daemon/sess.bend as Sessimport 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))