Function zng_task::poll_spawn

source ·
pub fn poll_spawn<F>(task: F)
where F: Future<Output = ()> + Send + 'static,
Expand description

Polls the task once immediately on the calling thread, if the task is pending, continues execution in spawn.