Function mycelium_kernel::rt::spawn

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

Spawn a task on Mycelium’s global runtime.