Table of Contents

Struct AsyncKeyedMutexLock<TKey>

Namespace
LfrlAnvil.Async
Assembly
LfrlAnvil.Core.dll

Represents an acquired lock from an AsyncKeyedMutex<TKey> instance.

public readonly struct AsyncKeyedMutexLock<TKey> : IDisposable where TKey : notnull

Type Parameters

TKey
Implements
Inherited Members
Extension Methods

Properties

Key

Associated key.

public TKey? Key { get; }

Property Value

TKey

Mutex

Associated AsyncKeyedMutex<TKey> instance.

public AsyncKeyedMutex<TKey>? Mutex { get; }

Property Value

AsyncKeyedMutex<TKey>

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()