[Feature] DistinctBy for IAsyncEnumerable
- Dominant language
- C#
- Stars
- 7.2k
- Forks
- 798
- PR merge metrics
- No merged PRs in 30d
Description
For the IEnumerable DistinctBy was already added in .Net 6.
This feature is currently missing for the IAsynEnumerable.
I therefore propose to add the following API:
```cs
public static IAsyncEnumerable DistinctBy(this IAsyncEnumerable source, Func keySelector);
public static IAsyncEnumerable DistinctBy(this IAsyncEnumerable source, Func keySelector, IEqualityComparer);
public static IAsyncEnumerable DistinctBy(this IAsyncEnumerable source, Func> keySelector);
public static IAsyncEnumerable DistinctBy(this IAsyncEnumerable source, Func> keySelector, IEqualityComparer);
```
If approved, I would like to give it a try myself.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.