def plan.start

cswap-bend-cli@0.1.0.0 · poll.bend:370

import cswap-bend-cli@0.1.0.0/poll.bend as Poll
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json

370def plan.start(prev_interval: Maybe<&2, U32>, +prev: Maybe<&2, U32>, +new: Maybe<&2, U32>, +usage: Json.Json, +active: Bool, +threshold: U32, +models: List<&2, String>, recent: Bool, +now: U32) -> Sched:
371  plan.with(interval.base(prev_interval, dflt_of(active)), is_known(prev, new), is_moving(prev, new), exhausted(new), new_ge(new, sub0(threshold, escalation_margin())),
372    usage, active, models, recent, now, ceil_of(active), dflt_of(active))

Uses (17)

Used by (1)