-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
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
feat: Add poll_recv_many
for Receiver
& UnboundedReceiver
#6236
Merged
Darksonn
merged 8 commits into
tokio-rs:master
from
Owen-CH-Leung:feat-Add-poll_recv_many-for-Receiver
Jan 1, 2024
Merged
Changes from 6 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
a41c850
Add poll_recv_many for Receiver & UnboundedReceiver
Owen-CH-Leung 8322476
Edit documentations to be more detailed
Owen-CH-Leung a27da40
Further edit the documentations to be more clear
Owen-CH-Leung 7110326
Fix failing doc test
Owen-CH-Leung 911463d
Revise docs based on the feedback
Owen-CH-Leung 1562120
Merge branch 'master' into feat-Add-poll_recv_many-for-Receiver
Owen-CH-Leung 2d6149f
Update docs of poll_recv and poll_recv_many
Owen-CH-Leung 9e95f29
Merge branch 'master' into feat-Add-poll_recv_many-for-Receiver
Owen-CH-Leung File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the same wording as on
poll_recv
. That's a standardized wording taking fromFuture::poll
, and we use the same wording on all poll functions with a note of this kind.Please also update the documentation of
poll_recv
to say "poll_recv
orpoll_recv_many
" like how I did here.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Darksonn Thanks a lot. I've revised accordingly.