Open wertzui opened 11 months ago
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.
At the moment, only
Task
s are supported by the library. However there is alsoValueTask
which would be a nice addition on their own and also together inTuple
s with normalTasks
s.