Formas de Utilizar Tasks Async, Backgroud Services e CancellationToken
-
Updated
Jul 21, 2025 - C#
Formas de Utilizar Tasks Async, Backgroud Services e CancellationToken
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.
Benchmarking various ways to cancel tasks after some execution period
A lightweight library for creating, resetting, and cancelling CancellationToken instances in a thread-safe, reusable way.
A base class that provides a per-component CancellationTokenSource, lazily
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."