def rotate_act
cswap-bend-cli@0.1.0.0 · profswitch.bend:107
import cswap-bend-cli@0.1.0.0/profswitch.bend as Profswitch
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/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/profile.bend as P
import cswap-bend-cli@0.1.0.0/daemon/gather.bend as G
107def rotate_act(+p: P.Prof, +ctx: SBase.Ctx, +opts: L.Opts, +raw: Json.Json) -> Act.of(Json.Json):
108 do ActM<Json.Json>:
109 m : Maybe<&2, G.Snap> <- G.snapshot(ctx)
110 t : U32 <- Act.lift(U32, Clock.now_s())
111 rotate_opt(p, ctx, opts, raw, m, t)