Skip to main content

spawn_with_context_async

Function spawn_with_context_async 

Source
pub fn spawn_with_context_async<F>(future: F) -> JoinHandle<F::Output>
where F: Future + Send + 'static, F::Output: Send + 'static,
Expand description

Spawn a Tokio task that inherits the current context.