Function crayon::sched::spawn

source ·
pub fn spawn<F>(func: F)where
    F: FnOnce() + Send + 'static,
Expand description

Spawn an asynchronous job in the global Scheduler.