Generate changelog / Fix consume ValueTask backed by IValueTaskSource (#2108)
* Added AwaitHelper to properly wait for ValueTasks.
* Adjust AwaitHelper
to allow multiple threads to use it concurrently.
* Changed AwaitHelper to static.
* Add test case to make sure ValueTasks work properly with a race condition between IsCompleted
and OnCompleted
.
Changed AwaitHelper to use ManualResetEventSlim
instead of Monitor.Wait
.
* Make ValueTaskWaiter.Wait
generic.
* Compare types d...
#136
Job | Run time |
---|---|
51s | |
51s |