jason-c-daniels - Jcd.Tasks 0.1.32

A netstandard2.0 library that provides utility classes to help with managing Tasks, creating custom TaskSchedulers, and creating thread safe value access.

PM> Install-Package Jcd.Tasks -Version 0.1.32 -Source https://www.myget.org/F/jason-c-daniels/api/v3/index.json

Copy to clipboard

> nuget.exe install Jcd.Tasks -Version 0.1.32 -Source https://www.myget.org/F/jason-c-daniels/api/v3/index.json

Copy to clipboard

> dotnet add package Jcd.Tasks --version 0.1.32 --source https://www.myget.org/F/jason-c-daniels/api/v3/index.json

Copy to clipboard
<PackageReference Include="Jcd.Tasks" Version="0.1.32" />
Copy to clipboard
source https://www.myget.org/F/jason-c-daniels/api/v3/index.json

nuget Jcd.Tasks  ~> 0.1.32
Copy to clipboard

> choco install Jcd.Tasks --version 0.1.32 --source https://www.myget.org/F/jason-c-daniels/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "jason-c-daniels" -SourceLocation "https://www.myget.org/F/jason-c-daniels/api/v2"
Install-Module -Name "Jcd.Tasks" -RequiredVersion "0.1.32" -Repository "jason-c-daniels" 
Copy to clipboard

Jcd.Tasks

[ARCHIVED]

This repository is now ARCHIVED.

[DEPRECATED]

The code from this project has been deprecated.

See Jcd.Threading for the latest code.

A netstandard2.0 library that provides utility classes to help with managing Tasks, creating custom TaskSchedulers, and creating thread safe value access.

Read the API docs carefully.

Types Provided.

  • The main types provided are:
    • TaskSchedulerExtensions - a static class supporting a Task.Run-compatible API that ensures actions are executed on a specified instance of TaskScheduler.
    • SynchronizedValue - a flexible and CLS compliant re-imagining of Interlocked.
    • CurrentSchedulerTaskRunner - a static class supporting a Task.Run-compatible API that ensures actions are executed on the current executing TaskScheduler.
    • CuustomSchedulerTaskRunner - a static class supporting a Task.Run-compatible API that ensures actions are executed on a single instance of a custom implementation of TaskScheduler.
    • SimpleThreadedTaskScheduler - A custom task scheduler base class that allocates a fixed pool of threads on which to run tasks.

Examples

See EXAMPLES.md for detailed examples.

Badges

GitHub Build status CodeFactor Grade Quality Gate Status

MyGet Nuget

API Docs

  • .NETStandard 2.0
    • Jcd.Validations (>= 1.1.7)
  • .NETStandard 2.0: 2.0.0.0

Owners

Jason C. Daniels

Authors

Jason C. Daniels

Project URL

https://github.com/jason-c-daniels/Jcd.Tasks

License

MIT

Info

633 total downloads
70 downloads for version 0.1.32
Download (39.6 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
0.1.32 39.6 KB Thu, 07 Mar 2024 01:50:43 GMT 70
0.1.29 39.56 KB Wed, 06 Mar 2024 11:59:18 GMT 67
0.1.25 39.55 KB Wed, 06 Mar 2024 00:03:02 GMT 71
0.1.20 17.9 KB Tue, 27 Feb 2024 02:36:33 GMT 69
0.1.10 18.06 KB Sun, 25 Feb 2024 19:53:50 GMT 70
0.1.9 17.98 KB Sun, 25 Feb 2024 19:49:39 GMT 75
0.1.6 17.85 KB Sun, 25 Feb 2024 19:39:52 GMT 68
0.1.0 17.68 KB Sun, 25 Feb 2024 18:30:46 GMT 68
0.0.5 12.95 KB Mon, 20 Mar 2023 01:52:06 GMT 75