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
Add a description, image, and links to the cancellationtokensource topic page so that developers can more easily learn about it.
To associate your repository with the cancellationtokensource topic, visit your repo's landing page and select "manage topics."