KeyedAsyncLock<TKey>.KeyedAsyncLockLease Struct
Represents a disposable lease for a KeyedAsyncLock<TKey>. Disposing the lease releases the lock for the key.
public readonly struct KeyedAsyncLockLease : IDisposableRemarks
Only the first disposal of a lease releases the key. Disposing the same lease again, or disposing a copy of an already-disposed lease, does nothing instead of releasing an acquisition made in the meantime.
- Implements
Methods
| Name | Description |
|---|---|
| Dispose() |
Dispose()
KeyedAsyncLock.cspublic void Dispose()No documentation is available.