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

Port System.Linq enhancements added in .NET 6 to System.Linq.Async #2048

Open
scharnyw opened this issue Nov 20, 2023 · 0 comments
Open

Port System.Linq enhancements added in .NET 6 to System.Linq.Async #2048

scharnyw opened this issue Nov 20, 2023 · 0 comments

Comments

@scharnyw
Copy link

scharnyw commented Nov 20, 2023

It seems that the LINQ enhancements added in .NET 6 to System.Linq have not been made available to System.Linq.Async. Some of them probably don't make much sense - e.g. TryGetNonEnumeratedCount, but others such as Chunk, the *By (DistinctBy/UnionBy/IntersectBy/ExceptBy/MinBy/MaxBy) methods and *OrDefault (FirstOrDefault/LastOrDefault/SingleOrDefault) overloads that take a default value are quite useful and I sometimes miss them when using async streams.

Could we add these enhancements to System.Linq.Async as well? If anything, it would allow the async streams to achieve feature parity with IEnumerable which I guess would be a valid argument in and by itself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant