This commit is contained in:
neuecc
2020-05-11 12:38:32 +09:00
parent 1316328766
commit a5f47d4095
4 changed files with 181 additions and 780 deletions

View File

@@ -39,9 +39,11 @@ namespace NetCoreSandbox
static async Task Main(string[] args)
{
await foreach (var item in UniTaskAsyncEnumerable.Range(1, 10).Do(x => Console.WriteLine("DO:" + x))
//.TakeWhileAwait(x => UniTask.FromResult(x < 5))
.Take(5)
await foreach (var item in UniTaskAsyncEnumerable.Range(1, 10)
.SelectAwait(x => UniTask.Run(() => x))
.SkipLast(6)
)
{
@@ -53,6 +55,8 @@ namespace NetCoreSandbox
}