spawn

Function spawn 

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

Defer the specified future to be run after the current async-lifted export task has returned a value.

The task will remain in a running state until all spawned futures have completed.