Function spawn

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

Spawn an asynchronous task to run in the background. For information about semantics, see the module docs.