Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.
/ Jcd.Tasks Public archive

[ARCHIVED] A netstandard2.0 library that provides utility classes to help with creating and managing unstarted Tasks.

License

Notifications You must be signed in to change notification settings

jason-c-daniels/Jcd.Tasks

Repository files navigation

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

About

[ARCHIVED] A netstandard2.0 library that provides utility classes to help with creating and managing unstarted Tasks.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages