What is C#’s CancellationToken?
Introduction
CancellationToken is a struct in the System.Threading namespace of the .NET Framework that is used to request cancellation of a long-running operation. It is commonly used in asynchronous programming to allow the calling code to cancel a...
mbarkt3sto.hashnode.dev8 min read