Found 157 packages
Helper types for working with cancellation tokens and sources.
A utility library allowing for easy CancellationToken usage
A collection of helpful CancellationToken extension methods
A Roslyn Analyzer to support proper usage of CancellationToken values.
Common helper methods for tasks as used in asynchronous programming.
A lightweight library for creating, resetting, and cancelling CancellationToken instances in a thread-safe, reusable way.
Generic Cancellation support for the Tecan Sila SDK
A Metalama weaver that automatically adds CancellationToken to your method definitions and your method calls.
Generic Cancellation support for the Tecan Sila SDK
Abstraction for flowing CancellationToken via dependency injection
SDK for message cancellation
Useful extensions contribution by Bnaya Eshet Blog: http://blogs.microsoft.co.il/bnaya/ Source Code: https://github.com/bnayae/Bnaya.CSharp.AsyncExtensions # NuGet this library available on NuGet via Install-Package Bnaya.CSharp.AsyncExtensions ## This library have the following goodies: * Exception Handling * ThrowAll (produce AggregateException when waiting on Task.WhenAll) * Format (format async exception into friendlier call-stack representation) * Timeout (will apply timeout semantic for any Task) * WithTimeout (will throw on timeout) * IsTimeoutAsync (will return indication without throwing, ideal for SLA checks [practice: check and produce warning]) * Cancellation * CancelSafe (will run the CancellationTokenSource.Cancel within try catch and prevent unexpected side effect which can happen when cancellation token registration throw) * Friendly async locking facilities (which can replace the classical lock statement). * Extensions * TryAcquireAsync * AcquireAsync * Instance-able * AsyncLock * WhenN: use to complete task after n task succeed THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
PikTools Library which contains logic for cancel any executing operation
ServiceModel.Cancellation is a library for .Net. Allows to propagate notifications from CancellationToken from client to service side. Supported platforms: - .NET Framework 4.5.2+
A .NET Standard Process wrapper with an elegant API, for both asyncronous and syncronous use, providing both Events and support for Tasks with cancellation support
Serilog filter for excluding operation cancelled exceptions. This also includes filtering out error logs generated by Entity Framework, when underlying DatabaseCommand receieves triggered cancellation token, and that cancellation was intentional. Can be used as workaround for https://github.com/dotnet/efcore/issues/19526 in case Entity Framework Core 7 is unavailable in the project.
An easy way to cancel any type of Tasks after timeout
A very light weight cancellation token with limited functionality.
Distributed cancellation tokens based on Redis Pub/Sub
MediatR pipeline that handles canceled requests gracefully.