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.