pub(crate) fn spawn_monitor(
monitor: Box<dyn FnOnce(Duration, Arc<AtomicBool>) -> Result<()> + Send>,
interval: f64,
shutdown: Arc<AtomicBool>,
) -> JoinHandle<()>Expand description
The stats client, in its own thread: beside the scheduler with
--stats, started once its server is up.