Skip to main content

init_worker

Function init_worker 

Source
pub fn init_worker()
Expand description

Ensure the background release worker is running.

Hot path is a single atomic OnceLock::get() load; only the very first call ever touches get_or_init (and thus the Once sync primitive). Must be invoked from a tokio runtime context on the first call.