public readonly ref T ValueGets a managed reference to the protected value.
Exceptions
ObjectDisposedException- Thrown if this guard has already been disposed or is uninitialized.
All Types / Ferrous.Concurrency
public struct AsyncMutexGuard<T> : IDisposable
A RAII guard providing exclusive access to the value owned by an AsyncMutex<T>.
Tpublic readonly ref T ValueGets a managed reference to the protected value.
ObjectDisposedExceptionpublic void Dispose()Releases the underlying AsyncMutex<T> lock. Safe to call more than once.