AsyncCancelableMutex
Namespace: SnowBank.Linq.Async · class
Implements: TaskCompletionSource<object>
Implements a async mutex that supports cancellation
Constructors
AsyncCancelableMutex
AsyncCancelableMutex(CancellationToken ct)
Properties
AlreadyDone
static AsyncCancelableMutex AlreadyDone { get; }
Mutex that has already completed
IsCompleted
bool IsCompleted { get; }
Methods
Abort
bool Abort(bool async = false)
Set
bool Set(bool async = false)