def decide_out3

cswap-bend-cli@0.1.0.0 · daemon/tick.bend:382

import cswap-bend-cli@0.1.0.0/daemon/tick.bend as Tick
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/policy/types.bend as T
import cswap-bend-cli@0.1.0.0/daemon/gather.bend as G

382# The tick up to the decision: the poll (and warning) events, the counters, and
383# what to do about it. Acting on it is `apply`'s business (it needs the switch).
384def decide_out3(+env: Env, +s: G.Snap, +active: String, +rows: Json.Json, +now: U32, +ts: String, +us: List<&2, T.Usage>, +pcfg: T.Config, +d: T.Decision) -> Next:
385  NAct{lead_out(env, s, active, rows, now, ts, us, pcfg), apply_ctx(env, s, active, us, now, ts), to_dec(env, s, active, us, now, d)}

Uses (13)

Used by (1)