Benchmarking various ways to cancel tasks after some execution period
-
Updated
Jun 3, 2025 - C#
Benchmarking various ways to cancel tasks after some execution period
Repositório dedicado ao estudo e prática da programação assíncrona em C#. Explora async/await, tarefas (Task, ValueTask e ValueTask<T>), controle de concorrência com Semaphore e SemaphoreSlim, além do uso de CancellationToken e CancellationTokenSource para cancelamento seguro de operações.
Formas de Utilizar Tasks Async, Backgroud Services e CancellationToken
A lightweight library for creating, resetting, and cancelling CancellationToken instances in a thread-safe, reusable way.
A collection of helpful CancellationToken extension methods
To associate your repository with the cancellationtokensource topic, visit your repo's landing page and select "manage topics."