def go3

cswap-bend-cli@0.1.0.0 · daemon/entry.bend:89

import cswap-bend-cli@0.1.0.0/daemon/entry.bend as Entry
import Base
import cswap-bend-cli@0.1.0.0/act.bend as Act
import cswap-bend-cli@0.1.0.0/clock.bend as Clock
import cswap-bend-cli@0.1.0.0/store/base.bend as SBase
import cswap-bend-cli@0.1.0.0/swlive.bend as L
import cswap-bend-cli@0.1.0.0/daemon/config.bend as Cfg
import cswap-bend-cli@0.1.0.0/daemon/live.bend as Lv
import cswap-bend-cli@0.1.0.0/daemon/pidlock.bend as Pid

89def go3(+ctx: SBase.Ctx, +f: Cfg.Flags, +state_dir: String, +opts: L.Opts, +version: String, +text: String, +over: Maybe<&2, String>) -> Act.of(U32):
90  do ActM<U32>:
91    pid : U32 <- Act.lift(U32, Pid.my_pid())
92    t : U32 <- Act.lift(U32, Clock.now_s())
93    started(ctx, f, state_dir, opts, version, Lv.cfg_for(text, f, over), pid, Clock.iso8601_utc(t), Lv.live_for(text, f, over))

Uses (16)

Used by (1)