-
-
Couldn't load subscription status.
- Fork 2.8k
task: add tokio_util::task::JoinQueue
#7590
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
Conversation
2068e58 to
bab83ad
Compare
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.
I think we should replicate most of the methods from JoinSet.
2c34aef to
837875d
Compare
Ok, I pushed implementation of all methods except |
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.
Since this is not the double-ended queue, I would suggest change it to another name.
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 avoid force-pushing during the review process.
- Could you add tests for this feature?
|
@ADD-SP yes, added. |
|
It seems that now CI failed with errors unrelated to this PR's changes. @ADD-SP should we restart CI, or should I update branch, or something else? |
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.
Overall looks good to me, @nickkuk Could you sync the changes from the base branch?
This reverts commit 070c209.
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.
Overall looks good to me.
This reverts commit dbdb56e.
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.
Thanks!
tokio_util::task::JoinQueue
New
tokio_util::task::JoinQueuestructure as FIFO-ordered analog oftokio::task::JoinSet.Issue: #7576
Edit: renamed from
JoinDequetoJoinQueue.