Thready 1.0.0-rc3
See the version list below for details.
dotnet add package Thready --version 1.0.0-rc3
NuGet\Install-Package Thready -Version 1.0.0-rc3
<PackageReference Include="Thready" Version="1.0.0-rc3" />
paket add Thready --version 1.0.0-rc3
#r "nuget: Thready, 1.0.0-rc3"
// Install Thready as a Cake Addin #addin nuget:?package=Thready&version=1.0.0-rc3&prerelease // Install Thready as a Cake Tool #tool nuget:?package=Thready&version=1.0.0-rc3&prerelease
Thready <img src="./logo.png" height="60" width="60" >
The little helper with your annoying background tasks.
General Information
Thready
helps you with running a function in a background thread with a specif timeout.
Installation
Apart from this installation technic described below you can use VS22 NuGet Manager or the Rider NuGet UI. For an IDE-agnostic installation it is best to use the command below to install the NuGet package in your project.
dotnet add package Thready
This will install the latest, stable version. To install a specific version you can define it like so (replace {VERSION} with the version you want to install):
dotnet add package Thready --version {VERSION}
Example:
dotnet add package Thready --version 1.0.0-alpha
Usage
(If you want to see some code you can find a sample app right here in this repo) After installing the package you can build your first 'worker' with these steps:
var worker = new ThreadyWorker();
await worker.StartAsync(IncreaseCount, TimeSpan.FromSeconds(1));
Contribute
Pull requests are more than welcome! To contribute, it's best to create an issue first and talk about the change you want to bring into this project.
After that, simply fork the repo, pull your forked repo local to your PC, create an appropriate feature-branch (naming example: feat/999_my-awesome-feature
, this boils down to: {TYPEOFCHANGE}/{ISSUENUMBER}_{SHORTDESCRIPTION}
).
You can now do your coding in this branch. After you are done, push your changes to your forked repo and create a Pull Request to this repo
Acknowledgements
Thanks 'Good Ware' for the logo (Hobbies and free time icons created by Good Ware - Flaticon)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 was computed. 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 was computed. 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. |
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.