karyon_core::async_runtime::spawn

Function spawn

Source
pub fn spawn<T: Send + 'static>(
    future: impl Future<Output = T> + Send + 'static,
) -> Task<T>