Skip to content
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

futures ordered: add clear fn #2927

Merged
merged 2 commits into from
Feb 26, 2025
Merged

futures ordered: add clear fn #2927

merged 2 commits into from
Feb 26, 2025

Conversation

Slixe
Copy link
Contributor

@Slixe Slixe commented Feb 25, 2025

Add a clear function in FuturesOrdered struct similar to FuturesUnordered to drop both queues (outputs and pending futures).

@rustbot rustbot added A-stream Area: futures::stream S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 25, 2025
Copy link
Member

@taiki-e taiki-e left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR.

@taiki-e taiki-e merged commit 3a80c14 into rust-lang:master Feb 26, 2025
24 checks passed
@taiki-e taiki-e added the 0.3-backport: pending The maintainer accepted to backport this to the 0.3 branch, but backport has not been done yet. label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.3-backport: pending The maintainer accepted to backport this to the 0.3 branch, but backport has not been done yet. A-stream Area: futures::stream S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants