<PackageReference Include="Nito.AsyncEx.Coordination" Version="1.0.2" />

Nito.AsyncEx

Namespace with 17 public types

Classes

 AsyncAutoResetEvent An async-compatible auto-reset event.
 AsyncConditionVariable An async-compatible condition variable. This type uses Mesa-style semantics (the notifying tasks do not yield).
 AsyncCountdownEvent An async-compatible countdown event.
 AsyncLazy`1 Provides support for asynchronous lazy initialization. This type is fully threadsafe.
 AsyncLock A mutual exclusion lock that is compatible with async. Note that this lock is not recursive!
 AsyncManualResetEvent An async-compatible manual-reset event.
 AsyncMonitor An async-compatible monitor.
 AsyncProducerConsumerQueue`1 An async-compatible producer/consumer queue.
 AsyncReaderWriterLock A reader/writer lock that is compatible with async. Note that this lock is not recursive!
 AsyncSemaphore An async-compatible semaphore. Alternatively, you could use SemaphoreSlim.
 DefaultAsyncWaitQueue`1 The default wait queue implementation, which uses a double-ended queue.
 PauseTokenSource The source (controller) of a "pause token", which can be used to cooperatively pause and unpause operations.

Structures

 AwaitableDisposable`1 An awaitable wrapper around a task whose result is disposable. The wrapper is not disposable, so this prevents usage errors like "using (MyAsync())" when the appropriate usage should be "using (await MyAsync())".
 PauseToken A type that allows an operation to be cooperatively paused.

Enumerations

 AsyncLazyFlags Flags controlling the behavior of .

Static Classes

 AsyncWaitQueueExtensions Provides extension methods for wait queues.

Interfaces

 IAsyncWaitQueue`1 A collection of cancelable instances. Implementations must assume the caller is holding a lock.