Closed dyarkovoy closed 7 years ago
Also return IDisposable from Lock/LockAsync, as we don't really need to expose any of the InnerLock members. Returning IDisposable makes it more compatible with Stephen Clearly's AsyncLock and other alternatives, providing for easier transition
Can you add a unit test that uses the cancellation token routine? The nuget release will be blocking on that.
sure, just added the PR
Also return IDisposable from Lock/LockAsync, as we don't really need to expose any of the InnerLock members. Returning IDisposable makes it more compatible with Stephen Clearly's AsyncLock and other alternatives, providing for easier transition