Function trust_dns_proto::spawn_bg[][src]

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

Spawn a background task, if it was present