Closed 0xF6 closed 1 year ago
@mqudsi so, one question
in AsyncLock
class has member IDisposable Lock
and Task<IDisposable> LockAsync
which name would be better to take for function returned IAsyncDisposable
и Task<IAsyncDisposable>
We wouldn’t add a new function to expose that; it would require instead adding a type that implements both IDisposable and IAsyncDisposable, which is unfortunate.
14