URLSession Delegate Callback Order After Cancellation or Timeout
Uncertain Callback Sequencing When a URLSession data task is cancelled via task.cancel() or by cancelling the surrounding Task in Swift 5.5’s async/await API, the underlying CFNetwork stack may still invoke delegate methods with partial data. The documentation does not specify whether urlSession(_:task:didCompleteWithError:) is guaranteed to fire after all u