Function smolscale::spawn

source ยท
pub fn spawn<T: Send + 'static>(
    future: impl Future<Output = T> + Send + 'static,
) -> Task<T>
Expand description

Spawns a task onto the lazily-initialized global executor.