Microsoft.VisualStudio.Threading
Features
- Async versions of many threading synchronization primitives
AsyncAutoResetEventAsyncBarrierAsyncCountdownEventAsyncManualResetEventAsyncReaderWriterLockAsyncSemaphoreReentrantSemaphore
 - Async versions of very common types
AsyncEventHandlerAsyncLazy<T>AsyncLazyInitializerAsyncLocal<T>AsyncQueue<T>
 - Await extension methods
- Await on a 
TaskSchedulerto switch to it.
Switch to a background thread withawait TaskScheduler.Default; - Await on a 
Taskwith a timeout - Await on a 
Taskwith cancellation 
 - Await on a 
 JoinableTaskFactorythat allows you to schedule asynchronous or synchronous work
that does not deadlock with the UI thread even when the UI thread needs to
synchronously block on the result.
Documentation
Supported platforms
- .NET 4.5
 - .NET 4.6
 - .NET Standard 1.3
 - .NET Standard 2.0