TPL Dataflow Library

 

The System.Threading.Tasks.Dataflow namespace in the TPL Dataflow Library NuGet package provides dataflow components to help increase the robustness of concurrency-enabled applications.

NamespaceDescription
System.Threading.Tasks.Dataflow

The System.Threading.Tasks.Dataflow namespace provides an actor-based programming model that supports in-process message passing for coarse-grained dataflow and pipelining tasks.

For more information, see Dataflow (Task Parallel Library).

The TPL Dataflow Library's dataflow model promotes actor-based programming by providing in-process message passing for coarse-grained dataflow and pipelining tasks. The dataflow components build on the types and scheduling infrastructure of the TPL and integrate with the C#, Visual Basic, and F# language support for asynchronous programming. These dataflow components are useful when you have multiple operations that must communicate with one another asynchronously or when you want to process data as it becomes available.

The TPL Dataflow Library is not distributed with the .NET Framework. Instead, it is available as a NuGet package.

For more information, see Dataflow (Task Parallel Library).

  1. Open your project in Visual Studio and choose Manage NuGet Packages from the Project menu.

  2. Optionally, check the Include Prerelease box at the top of the page. This option will give you access to new prerelease versions of the TPL Dataflow Library as they become available.

  3. Use the search box at the top right of the page to locate the Microsoft.Tpl.Dataflow (Task Parallel Library (TPL) Dataflow) package.

  4. In the left pane, select Microsoft.Tpl.Dataflow and then choose Install.

Return to top
Show: