Function hickory_proto::spawn_bg

source ·
pub fn spawn_bg<F: Future<Output = R> + Send + 'static, R: Send + 'static>(
    runtime: &Runtime,
    background: F
) -> JoinHandle<R>
Available on crate feature tokio-runtime only.
Expand description

Spawn a background task, if it was present