Skip to main content

spawn

Function spawn 

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

Spawns a Send future on the background reactive runtime (Tokio-backed — see frust_reactive::ReactiveRuntime). A thin wrapper over any_spawner::Executor::spawn; app authors never name any_spawner.