def idle_events

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

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/daemon/events.bend as Ev

96def idle_events(+ts: String, +thr: U32, +live: Bool) -> List<&2, Json.Json>:
97  [Ev.poll(ts, Json.JNull{}, [], thr), Ev.no_switch(ts, idle_reason(live), idle_detail(live))]

Uses (9)

Used by (1)