TaskTupleAwaiter
TaskTupleAwaiter copied to clipboard
Support ValueTask
At the moment, only Tasks are supported by the library.
However there is also ValueTask which would be a nice addition on their own and also together in Tuples with normal Taskss.
There's no way to generalize between Task and ValueTask without an exponential explosion of code. I would suggest doing the same as you would already have to do with ValueTasks when you want to use them with Task.WhenAll: use .AsTask() on each ValueTask.