This is a prerelease version of TaskBucket.
Install-Package TaskBucket -Version
dotnet add package TaskBucket --version
<PackageReference Include="TaskBucket" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TaskBucket --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TaskBucket,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install TaskBucket as a Cake Addin
#addin nuget:?package=TaskBucket&version=

// Install TaskBucket as a Cake Tool
#tool nuget:?package=TaskBucket&version=
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Hasle free asynchronous background tasks

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 60 3/15/2021 51 3/12/2021 68 3/10/2021 54 3/10/2021 91 3/6/2021 66 2/20/2021 51 2/16/2021 50 2/16/2021 55 2/15/2021 60 2/15/2021 54 2/15/2021 57 2/15/2021 73 2/14/2021 76 2/14/2021

Major refactor of underlying components, AspNet now handles the lifetime of the Scheduler. Thus the Scheduler is started and stoped by AspNet, meaning that if your background tasks are still running app shutdown will be postponed.

REMOVED | InstanceTasks, all object instances should be retrieved by DI so I removed this function.
REMOVED | TaskBucketStatus, I may replace this in the future with a debugging assistant. But for now it is gone for good.

ADDED | Scheduler allowing for better control over tasks and integration into AspNet
ADDED | TaskPriority [Low, Normal, High, Critical] these are working, but eventually will play a role in Cron Jobs.
ADDED | UseTaskBucket method, this can be used in Startup.Configure to easily add/start jobs as your App starts. Again this will be more powerful when Cron jobs are added.

CHANGED | Default thread pool size from 10 to Logical Cores available to your App as reported by .Net

IMPROVED | TaskBucketAwaiter Async methods, these methods now use Task.Delay instead of Thread.Sleep