Function tsukuyomi::rt::spawn_with_handle
source · pub fn spawn_with_handle<F>(future: F) -> SpawnHandle<F::Item, F::Error>where
F: Future + Send + 'static,
F::Item: Send + 'static,
F::Error: Send + 'static,
Expand description
Spawns the specified Future
onto the default task executor, and returns its handle.