Cancellation is paradigm that allows cooperatively canceling a running operation before it finishes.
Cancellation is paradigm that allows cooperatively canceling a running operation before it finishes.
In .net, cancellation is achieved using cancellationtokensource for signaling cancellation and a CancellationToken
is used by the operation to check whether cancellation was requested.