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

Stream::flatten_unordered would be nice #1781

Closed
cramertj opened this issue Aug 6, 2019 · 5 comments · Fixed by #2083
Closed

Stream::flatten_unordered would be nice #1781

cramertj opened this issue Aug 6, 2019 · 5 comments · Fixed by #2083
Labels
A-stream Area: futures::stream C-feature-request

Comments

@cramertj
Copy link
Member

cramertj commented Aug 6, 2019

No description provided.

@cramertj
Copy link
Member Author

cramertj commented Oct 30, 2019

Triage: I've seen a number of manual impls of this using stream::select_all and select!-- this is still very much wanted.

@luser
Copy link

luser commented Feb 11, 2020

Would this be equivalent to async-std's Stream::merge?

@cramertj
Copy link
Member Author

No-- this would flatten a stream of streams, rather than just combining two streams.

@luser
Copy link

luser commented Feb 11, 2020

OK that makes sense but conceptually this is "take a stream of streams and flatten them into a stream that produces items from any of those streams as they become available", right? If so that's effectively what I was asking for in this async-std issue.

@cramertj
Copy link
Member Author

Yes, that's what I'm describing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-stream Area: futures::stream C-feature-request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants