Skip to main content

spawn

Function spawn 

Source
pub fn spawn(future: impl Future<Output = ()> + Send + 'static)
Expand description

Run future to completion in the background on the tokio runtime natively.