Function zng::task::poll_spawn

source ยท
pub fn poll_spawn<F>(task: impl IntoFuture<IntoFuture = 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.