Cooperative Task Cancellation

This post from Peter Friese from his SwiftUI Concurrency Essentials series focuses on the topic of cooperative task cancellation. Peter provides a SwiftUI example demonstrating why cancellation is important, and shows us how to use cooperative cancellation in our asynchronous code.