-
Notifications
You must be signed in to change notification settings - Fork 416
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
Merge sequence of async streams into single async stream #793
Conversation
Should there also be a version with an explicit |
Most probably, but this is still in draft. 😉 However, the motivation for that isn't so much to satisfy the fluent syntax members of the audience but to allow options to be changed at time of composition or evaluation. |
Completed in viceroypenguin/SuperLinq#35 - to be released in SuperLinq 4.1.0 |
Conflicts resolved: - MoreLinq/MoreLinq.csproj
Codecov Report
@@ Coverage Diff @@
## master #793 +/- ##
=======================================
Coverage 92.52% 92.52%
=======================================
Files 113 113
Lines 3440 3440
Branches 1024 1024
=======================================
Hits 3183 3183
Misses 192 192
Partials 65 65 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Conflicts resolved: - MoreLinq.Test/.editorconfig
This PR adds
Merge
that concurrently merges all the elements of multiple asynchronous streams into a single asynchronous stream.An overload allows concurrency to be controlled from 1 (sequential) to some N (or maximum degree of concurrency).
When concurrency is greater than 1, elements in the resulting stream may appear out of order.
If iterations are synchronous in whole or in part then the whole or parts are yielded/streamed synchronously without causing allocations.
This PR supersedes #775.