Found 157 packages
Base classes for distributed cancellation tokens
This package includes a .NET MVVM library with helpers such as: - ObservableObject: a base class for objects implementing the INotifyPropertyChanged interface. - ObservableRecipient: a base class for observable objects with support for the IMessenger service. - ObservableValidator: a base class for objects implementing the INotifyDataErrorInfo interface. - RelayCommand: a simple delegate command implementing the ICommand interface. - AsyncRelayCommand: a delegate command supporting asynchronous operations and cancellation. - WeakReferenceMessenger: a messaging system to exchange messages through different loosely-coupled objects. - StrongReferenceMessenger: a high-performance messaging system that trades weak references for speed. - Ioc: a helper class to configure dependency injection service containers.
Package Description
Package Description
A small library that implements an improved version of System.Threading.CancellationToken with support for removable registrations, to allow for garbage collection in the presence of long-lived tokens, plus some related utilities. Motivation: cancellation tokens can be the source of memory "leaks", because an unbounded number of completed operations may have registered now-pointless callbacks on a token that can't be released or cancelled. The callbacks may reference all kinds of data, preventing effective garbage collection. Using a Lifetime allows fixing these issues because callback registrations can be given lifetimes of their own. Additional utilities: LifetimeSource, LifetimeExchanger, DisposableLifetime, Max, Min, CreateDependentSource.
A Blazor core class for the cancellable Quark component.
OperationCanceled middlerware to return 499 status code
A dead man's switch is designed to detect a worker task that is no longer making progress and cancel it. It does this by cancelling a CancellationToken that is provided to the worker from the start. In turn, the process is responsible for notifying the dead man's switch in a periodic fashion to prevent its own cancellation.
C# client-side rate limiting utility. Features: * Easy to use * Fully asynchronous: lower resource usage than thread sleep * Cancellable via CancellationToken * Thread safe so you can share time contraints object to rate limit diferent threads using the same resource * Composable: ability to compose diferent rate limits in one constraint
Packge for get data cancellation polices
Integration with ASP.NET core logging and dependency injection for the dead man's switch
Simple wrapper around System.Diagnostics.Process to expose it as a System.Threading.Tasks.Task<ProcessResults> Includes support for cancellation, timeout (via cancellation), and exposes the standard output, standard error, exit code, and run time of the process.
Adds global cancellations to GDTask.Nuget
An observable collection where items are removed when a lifetime paired with them ends. Affords projecting, filtering, and other functional-style usage by removing the need to equate removed items with previously added items.
A lightweight and efficient API client wrapper for Blazor applications, simplifying HTTP communication with support for asynchronous calls, cancellation tokens, and JSON serialization.
A Roslyn analyzer that detects async Task- and ValueTask-returning methods missing a CancellationToken parameter, offering diagnostics and automated code fixes.
Task utilities featuring TimedCancellationTokenSource for automatic timeout-based cancellation and Task extension methods with FluentResults integration for improved error handling and cancellation token management.
Pandatech Roslyn analyzers enforcing company coding rules.
A base class that sits between a controller and manager (responsibility-driven-design) providing logging and cancellation
Non Official utility methods and extensions for System.Threading.Tasks