Skip to main content

spawn_if_enabled

Function spawn_if_enabled 

Source
pub fn spawn_if_enabled() -> bool
Expand description

Spawn the background push loop if (and only if) the operator opted in. Called from long-running entry points (dashboard server). Returns whether the loop was started.