Skip to main content

spawn_task

Function spawn_task 

Source
pub fn spawn_task<F>(future: F)
where F: Future<Output = ()> + Send + 'static,
Expand description

Helper to spawn asynchronous tasks in a target-agnostic manner.