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>

Spawn a background task, if it was present