pub fn spawn<F, R>(fut: F) -> SpawnHandle<R> ⓘ
Expand description
Spawn a future on the current runtime. Returns a new future that can be later awaited for it’s output. Task execution begins eagerly, without needing you to await it
pub fn spawn<F, R>(fut: F) -> SpawnHandle<R> ⓘ
Spawn a future on the current runtime. Returns a new future that can be later awaited for it’s output. Task execution begins eagerly, without needing you to await it