vs-threading
vs-threading copied to clipboard
Add `AsyncBarrier.SignalAndWait(CancellationToken)` overload
Also optimize the pre-existing code.
The new overload returns ValueTask to leave open the option of optimizing to zero-allocation use via IValueTaskSource.
Closes #1329