Cancellation, Part 3: Detecting Cancellation

added by DotNetKicks
3/14/2022 4:15:50 PM

176 Views

It's not uncommon to want to detect whether the cancellation actually canceled anything or not. Cancellation is cooperative, and sometimes the code requesting cancellation needs to know whether that cancellation actually took place, or whether the operation just completed normally.


0 comments