Skip to content
Discussion options

You must be logged in to vote

It doesn't block, future::poll_once means that the future will complete immediately when .awaited or block_oned, assuming the future is well-behaved. The code here just checks to see if the future is done, and consumes the output if it is.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rohel01
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants