def plan_after_fetch

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

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

384# plan_after_fetch (no jitter): `threshold` in tenths, `models` the scoped
385# names that gate the account, times in unix seconds.
386def plan_after_fetch(prev_interval: Maybe<&2, U32>, prev_usage: Json.Json, +new_usage: Json.Json, is_active: Bool, +threshold: U32, +models: List<&2, String>, recent_429: Bool, +now: U32) -> Sched:
387  plan.start(prev_interval, binding(prev_usage, models), binding(new_usage, models), new_usage, is_active, threshold, models, recent_429, now)

Uses (9)

Used by (1)