Function zng_task::poll_respond
source · pub fn poll_respond<R, F>(task: F) -> ResponseVar<R>
Expand description
Polls the task
once immediately on the calling thread, if the task
is ready returns the response already set,
if the task
is pending continues execution like respond
.