Microsoft.VisualStudio.Threading 17.11.19-preview

Microsoft.VisualStudio.Threading

Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).

Features

  • Async versions of many threading synchronization primitives
    • AsyncAutoResetEvent
    • AsyncBarrier
    • AsyncCountdownEvent
    • AsyncManualResetEvent
    • AsyncReaderWriterLock
    • AsyncSemaphore
    • ReentrantSemaphore
  • Async versions of very common types
    • AsyncEventHandler
    • AsyncLazy<T>
    • AsyncLazyInitializer
    • AsyncLocal<T>
    • AsyncQueue<T>
  • Await extension methods
    • Await on a TaskScheduler to switch to it. Switch to a background thread with await TaskScheduler.Default;
    • Await on a Task with a timeout
    • Await on a Task with cancellation
  • JoinableTaskFactory that 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.

Showing the top 20 packages that depend on Microsoft.VisualStudio.Threading.

Packages Downloads
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
88
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
76
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
73
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
67
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
66
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
65
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
63
Microsoft.VisualStudio.Threading.Analyzers
Static code analyzer to detect common mistakes or potential issues on the C# code that uses Visual Studio SDK APIs.
62
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
60
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
59
Microsoft.VisualStudio.Threading.Analyzers
Static code analyzer to detect common mistakes or potential issues on the C# code that uses Visual Studio SDK APIs.
58
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
58
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
57
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
56

Version Downloads Last updated
17.14.2-alpha 22 3/13/2025
17.13.61 14 3/19/2025
17.13.2 31 2/16/2025
17.12.19 28 11/18/2024
17.11.20 30 8/14/2024
17.11.19-preview 36 7/3/2024
17.10.48 42 5/5/2024
17.10.41 35 5/31/2024
17.10.12-preview 44 5/5/2024
17.9.28 35 2/23/2024
17.9.1-alpha 46 12/8/2023
17.8.14 52 11/24/2023
17.7.35 50 11/18/2023
17.7.30 70 8/24/2023
17.7.1-preview 48 8/7/2023
17.6.40 50 5/19/2023
17.5.22 52 3/26/2023
17.5.21 46 5/19/2023
17.5.10-alpha 48 2/28/2023
17.4.33 47 3/15/2023
17.4.27 68 12/10/2022
17.3.48 52 12/10/2022
17.3.44 56 9/21/2022
17.3.1-alpha 60 9/21/2022
17.2.32 68 7/3/2022
17.2.20-alpha 53 7/3/2022
17.1.46 69 7/3/2022
17.0.64 86 7/3/2022
17.0.63 49 7/3/2022
17.0.46-alpha 59 7/3/2022
17.0.32-alpha 56 7/3/2022
17.0.26-alpha 62 7/3/2022
17.0.17-alpha 43 7/3/2022
17.0.15-alpha 50 7/3/2022
17.0.13-alpha 56 7/3/2022
16.10.56 50 7/3/2022
16.10.51-alpha 50 7/3/2022
16.9.60 51 7/3/2022
16.9.54 64 7/3/2022
16.9.51 48 7/3/2022
16.9.45-alpha 51 7/3/2022
16.8.55 58 7/3/2022
16.8.51 65 7/3/2022
16.8.50 51 7/3/2022
16.7.56 51 7/3/2022
16.7.54 57 7/3/2022
16.6.13 77 7/3/2022
16.5.132 54 7/3/2022
16.5.124-alpha 51 7/3/2022
16.5.119-alpha 63 7/3/2022
16.5.108-alpha 57 7/3/2022
16.4.45 59 7/3/2022
16.4.43 51 7/3/2022
16.4.39 63 7/3/2022
16.4.33 71 7/3/2022
16.4.16 57 7/3/2022
16.3.59 70 7/3/2022
16.3.52 57 7/3/2022
16.3.13 49 7/3/2022
16.3.1-alpha 63 7/3/2022
16.0.102 68 7/3/2022
16.0.96-beta 57 7/3/2022
16.0.82-beta 66 7/3/2022
15.8.209 73 7/3/2022
15.8.192 53 7/3/2022
15.8.168 58 7/3/2022
15.8.145 46 7/3/2022
15.8.132 71 7/3/2022
15.8.122 82 7/3/2022
15.8.99-rc 59 7/3/2022
15.8.95-rc 50 7/3/2022
15.8.81-beta 56 7/3/2022
15.8.72-beta 74 7/3/2022
15.8.47-beta 68 7/3/2022
15.8.46-beta 55 7/3/2022
15.7.23 53 7/3/2022
15.7.21 52 7/3/2022
15.7.18 50 7/3/2022
15.7.17 53 7/3/2022
15.7.15-preview 67 7/3/2022
15.6.56 49 7/3/2022
15.6.46 60 7/3/2022
15.6.44 54 7/3/2022
15.6.31 56 7/3/2022
15.6.11-beta 65 7/3/2022
15.5.32 64 7/3/2022
15.5.24 53 7/3/2022
15.5.13-beta 64 7/3/2022
15.5.11-beta 47 7/3/2022
15.5.5-beta 50 7/3/2022
15.4.4 59 7/3/2022
15.3.83 43 7/3/2022
15.3.35 55 7/3/2022
15.3.23 63 7/3/2022
15.3.20 46 7/3/2022
15.2.5 74 7/3/2022
15.0.240 66 7/3/2022
15.0.116-pre 61 7/3/2022
15.0.109-pre 48 7/3/2022
15.0.83-pre 89 7/3/2022
15.0.49-pre 67 7/3/2022
15.0.20-pre 54 7/3/2022
15.0.18-pre 64 7/3/2022
14.1.131 57 7/3/2022
14.1.114 64 7/3/2022
14.1.111 62 7/3/2022
14.0.51107 45 7/3/2022
14.0.51103 42 7/3/2022
14.0.50702 62 7/3/2022
14.0.50522-pre 52 7/3/2022
14.0.50417-pre 60 7/3/2022
12.2.0 68 7/3/2022
12.0.0 61 7/3/2022