Join, GroupBy, GroupJoin

This commit is contained in:
neuecc
2020-05-12 00:38:06 +09:00
parent 418586fbfb
commit 7298686d5a
11 changed files with 904 additions and 3905 deletions

View File

@@ -1,4 +1,6 @@
using System.Runtime.InteropServices;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Threading;
namespace Cysharp.Threading.Tasks
@@ -19,6 +21,11 @@ namespace Cysharp.Threading.Tasks
UniTask DisposeAsync();
}
public interface IUniTaskOrderedAsyncEnumerable<TElement> : IUniTaskAsyncEnumerable<TElement>
{
IUniTaskOrderedAsyncEnumerable<TElement> CreateOrderedEnumerable<TKey>(Func<TElement, TKey> keySelector, IComparer<TKey> comparer, bool descending);
}
//public interface IUniTaskAsyncGrouping<out TKey, out TElement> : IUniTaskAsyncEnumerable<TElement>
//{
// TKey Key { get; }