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
Waker::will_wake()
I was wondering if there is any interest in adding this optimization, basically avoiding cloning the Waker if it isn't necessary.
Waker
Happy to make a PR.
The text was updated successfully, but these errors were encountered:
Send
EventLoopProxy
Looking through the history of the original AtomicWaker implementation, it looks like it originally had a test like this, but it was removed later on.
AtomicWaker
I'm not familiar with futures' internals, but from a brief glance you could probably just add the check here.
futures
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I was wondering if there is any interest in adding this optimization, basically avoiding cloning the
Waker
if it isn't necessary.Happy to make a PR.
The text was updated successfully, but these errors were encountered: