Skip to main content

spawn_observer

Function spawn_observer 

Source
pub fn spawn_observer(
    name: String,
    work: impl Future<Output = ()> + Send + 'static,
) -> Result<JoinHandle<()>>