Skip to main content

spawn

Function spawn 

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

Spawns future on the current runtime, like tokio::spawn.