spawn_detached

Function spawn_detached 

Source
pub fn spawn_detached<F>(future: F)
where F: Future<Output = ()> + Send + 'static,
Expand description

Platform-independent helper to spawn an async task that runs in the background.