Function trust_dns_proto::spawn_bg
source ยท pub fn spawn_bg<F: Future<Output = R> + Send + 'static, R: Send + 'static>(
runtime: &Runtime,
background: F,
) -> JoinHandle<R>
Expand description
Spawn a background task, if it was present