Skip to main content

spawn_detached

Function spawn_detached 

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

Spawns a future to run detached. This will use a thread on native, or the browser runtime on WASM.