checkCancellation()
Throws an error if the task was canceled.
Declaration
static func checkCancellation() throwsDiscussion
The error is always an instance of CancellationError.
Throws an error if the task was canceled.
static func checkCancellation() throwsThe error is always an instance of CancellationError.