Skip to main content

daemon_is_idle

Function daemon_is_idle 

Source
pub async fn daemon_is_idle(state: &DaemonState) -> bool
Expand description

Idle = zero connections, no pinned session AND every live session between turns, held for idle continuously. Clients and pins count first so a probe is never sent while someone is attached. A pin holds the exit because exiting would end the session the user asked to keep.