fix WhenAll,WhenAny 0-length

This commit is contained in:
neuecc
2020-05-07 11:27:27 +09:00
parent 66fa203f7c
commit be539fdb10
4 changed files with 59 additions and 7 deletions

View File

@@ -16,8 +16,16 @@ namespace NetCoreSandbox
static async UniTask<int> outer()
{
var v = await DoAsync();
return v;
//await Task.WhenAll();
//var foo = await Task.WhenAny(Array.Empty<Task<int>>());
await UniTask.WhenAny(new UniTask[0]);
return 10;
//var v = await DoAsync();
//return v;
}