crb_core::task

Function spawn

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

Spawn a task globally (could be sent between threads).