PowerThreadPool 2.5.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package PowerThreadPool --version 2.5.3
                    
NuGet\Install-Package PowerThreadPool -Version 2.5.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PowerThreadPool" Version="2.5.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PowerThreadPool" Version="2.5.3" />
                    
Directory.Packages.props
<PackageReference Include="PowerThreadPool" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PowerThreadPool --version 2.5.3
                    
#r "nuget: PowerThreadPool, 2.5.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package PowerThreadPool@2.5.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PowerThreadPool&version=2.5.3
                    
Install as a Cake Addin
#tool nuget:?package=PowerThreadPool&version=2.5.3
                    
Install as a Cake Tool

PowerThreadPool

icon

Nuget Nuget GitHub release (with filter) GitHub Repo stars GitHub Workflow Status (with event) Codecov

Offers comprehensive and efficient thread pool management with features like granular work control, dependencies, customizable concurrency, events, priority handling, timeout options, callbacks, error handling, and load balancing, alongside an easy-to-use API for diverse task submissions.

Documentation

Read the Wiki here.

Download

PowerThreadPool is available as Nuget Package now.
Support: Net46+ | Net5.0+

Features

Getting started

Simple example: run a work

PowerPool powerPool = new PowerPool(new PowerPoolOption() { /* Some options */ });
powerPool.QueueWorkItem(() => 
{
    // DO SOMETHING
});

With callback

PowerPool powerPool = new PowerPool(new PowerPoolOption() { /* Some options */ });
powerPool.QueueWorkItem(() => 
{
    // DO SOMETHING
    return result;
}, (res) => 
{
    // Callback of the work
});

With option

PowerPool powerPool = new PowerPool(new PowerPoolOption() { /* Some options */ });
powerPool.QueueWorkItem(() => 
{
    // DO SOMETHING
    return result;
}, new WorkOption()
{
    // Some options
});

Reference

string QueueWorkItem(Action action, *);
string QueueWorkItem(Action<object[]> action, object[] param, *);
string QueueWorkItem<T1, ...>(Action<T1, ...> action, T1 param1, ..., *);
string QueueWorkItem<T1, ..., TResult>(Func<T1, ..., TResult> function, T1 param1, ..., *);
string QueueWorkItem<TResult>(Func<TResult> function, *);
string QueueWorkItem<TResult>(Func<object[], TResult> function, object[] param, *);
  • Asterisk (*) denotes an optional parameter, either a WorkOption or a delegate (Action<ExecuteResult<object>> or Action<ExecuteResult<TResult>>), depending on whether the first parameter is an Action or a Func.
  • In places where you see ellipses (...), you can provide up to five generic type parameters.

APIs

API Summary

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net46 is compatible.  net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on PowerThreadPool:

Package Downloads
aadog.RedisTagLock

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.7.0 86 1/8/2026
5.6.0 283 12/18/2025
5.5.2 237 12/14/2025
5.5.1 268 11/30/2025
5.5.0 188 11/23/2025
5.4.0 407 11/18/2025
5.3.0 174 11/15/2025
5.2.0 157 11/1/2025
5.1.1 183 10/24/2025
5.1.0 178 10/17/2025
5.0.0 232 10/10/2025
5.0.0-rc.2 127 10/3/2025
5.0.0-rc.1 155 9/29/2025
4.22.7 209 9/20/2025
4.22.6 332 9/17/2025
4.22.5 207 9/7/2025
4.22.4 516 9/3/2025
4.22.3 229 8/31/2025
4.22.2 241 8/28/2025
4.22.1 260 8/26/2025
4.22.0 201 8/19/2025
4.21.1 217 8/11/2025
4.21.0 562 7/21/2025
4.20.3 138 7/18/2025
4.20.2 198 7/15/2025
4.20.1 274 7/13/2025 4.20.1 is deprecated because it has critical bugs.
4.20.0 533 6/18/2025
4.19.0 228 6/17/2025
4.18.3 427 6/10/2025
4.18.2 241 5/29/2025
4.18.1 313 5/16/2025
4.18.0 225 5/8/2025
4.17.0 237 4/27/2025
4.16.4 267 3/20/2025
4.16.3 279 3/3/2025
4.16.2 207 2/21/2025
4.16.1 251 2/4/2025
4.16.0 236 1/19/2025
4.15.0 241 1/3/2025
4.14.2 223 12/18/2024
4.14.1.1 214 12/13/2024
4.14.1 208 12/13/2024 4.14.1 is deprecated because it has critical bugs.
4.14.0 230 12/4/2024
4.13.0 226 11/14/2024
4.12.1 242 11/9/2024
4.12.0 245 10/16/2024
4.11.1 237 9/29/2024
4.11.0 217 9/24/2024
4.10.0 298 9/18/2024
4.9.1 256 9/1/2024
4.9.0 244 8/24/2024
4.8.2 235 8/18/2024
4.8.1 223 7/27/2024
4.8.0 239 7/21/2024
4.7.0 230 7/18/2024
4.6.0 230 6/30/2024
4.5.1 258 5/29/2024
4.5.0 222 5/24/2024
4.4.0 190 5/20/2024
4.3.0 211 5/16/2024
4.2.0 216 5/13/2024
4.1.0 231 5/11/2024
4.0.4 238 5/9/2024
4.0.3 328 5/5/2024
4.0.2 257 5/4/2024
4.0.1 228 4/27/2024
4.0.0 213 4/24/2024
3.2.0 218 4/22/2024
3.1.0 218 4/20/2024
3.0.0 228 4/18/2024
2.5.11 240 4/15/2024
2.5.10 241 4/12/2024
2.5.9 215 4/8/2024
2.5.8 270 3/26/2024
2.5.7 246 3/22/2024
2.5.6 229 3/12/2024
2.5.5 273 3/2/2024
2.5.4 230 2/29/2024
2.5.3 245 2/29/2024
2.5.2 256 2/26/2024
2.5.1 240 2/25/2024
2.5.0 261 2/8/2024
2.4.0 284 12/5/2023
2.3.0 192 12/5/2023
2.2.3 217 12/4/2023
2.2.2 189 12/3/2023
2.2.1 224 11/21/2023
2.2.0 192 11/12/2023
2.1.4 183 11/11/2023
2.1.3 191 11/11/2023
2.1.2 180 11/11/2023
2.1.1 184 11/6/2023
2.1.0 180 11/5/2023
2.0.1 236 10/23/2023
2.0.0 210 10/22/2023
1.5.10 245 9/24/2023
1.5.9 230 9/24/2023
1.5.8 226 9/18/2023
1.5.7 214 9/17/2023
1.5.6 243 9/8/2023
1.5.5 233 9/7/2023
1.5.4 240 9/6/2023
1.5.3 256 9/5/2023
1.5.2 232 9/4/2023
1.5.1 251 9/3/2023
1.5.0 228 9/2/2023
1.4.5 222 9/1/2023
1.4.4 249 9/1/2023
1.4.3 227 8/31/2023
1.4.2 226 8/30/2023
1.4.1 339 8/30/2023 1.4.1 is deprecated because it has critical bugs.
1.4.0 280 8/30/2023 1.4.0 is deprecated because it has critical bugs.
1.3.2 277 8/29/2023
1.3.1 240 8/28/2023
1.3.0 248 8/28/2023
1.2.1 247 8/28/2023
1.2.0 255 8/27/2023
1.1.0 278 8/27/2023
1.0.2 253 8/26/2023
1.0.1 261 8/26/2023
1.0.0 253 8/26/2023