Copper.Timers
0.0.3
dotnet add package Copper.Timers --version 0.0.3
NuGet\Install-Package Copper.Timers -Version 0.0.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="Copper.Timers" Version="0.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Copper.Timers" Version="0.0.3" />
<PackageReference Include="Copper.Timers" />
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 Copper.Timers --version 0.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Copper.Timers, 0.0.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 Copper.Timers@0.0.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=Copper.Timers&version=0.0.3
#tool nuget:?package=Copper.Timers&version=0.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Copper.Timers
⏱️ Timers. For apps that need to do stuff sometimes.
Binaries
| Package | Version | Description |
|---|---|---|
| Copper.Timers | Timers as Microsoft hosting extensions |
Periodic invocations
E.g.
services.AddPeriodicTask<SomeKindOfChecker>(
interval: TimeSpan.FromSeconds(5),
executeAsync: (checker, token) => checker.ExecuteAsync(token)
);
and stuff will be checked every 5 s.
Invocations on start/stop
You can also do stuff when your app starts and stops:
services.AddStartable<SomeKindOfStartable>(
startAsync: (startable, token) => startable.StartAsync(token),
stopAsync: (startable, token) => startable.StopAsync(token)
);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.Extensions.DependencyInjection (>= 10.0.12)
- microsoft.extensions.hosting.abstractions (>= 10.0.12)
- scrutor (>= 7.0.0)
- serilog (>= 4.4.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Copper.Timers:
| Package | Downloads |
|---|---|
|
Copper.MiniScheduler
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.