Swift Structured Concurrency: Task cancellation propagation across actor boundaries
Cancellation Behavior in Distributed Actor Isolation Swift's cooperative cancellation model ensures that cancellation propagates from parent tasks to child tasks created via async let or TaskGroup . This mechanism relies on the task hierarchy to signal termination to all nested operations. When asynchronous operations transition across different actor isolat