We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this has stopped me from using futures-lite a couple of times now. incredibly useful function.
The text was updated successfully, but these errors were encountered:
It currently exists as futures_lite::future::poll_once, although it's not a method like .now_or_never().
futures_lite::future::poll_once
.now_or_never()
Sorry, something went wrong.
No, that's not the same. It requires you to construct a waker, and if you look at the futures NoopWaker it's about 200loc.
Oh, sorry, I didn't realize. But it can still be useful when you are already in an async context, which is often the case.
No branches or pull requests
this has stopped me from using futures-lite a couple of times now. incredibly useful function.
The text was updated successfully, but these errors were encountered: