Function kernel::executor::spawn

source ·
fn spawn<F>(future: F) -> (Runnable, Task<F::Output>)where
    F: Future + Send + 'static,
    F::Output: Send + 'static,