Contents

isCancelled

A Boolean value that indicates whether the current task was canceled.

Declaration

var isCancelled: Bool { get }

Discussion

After the value of this property becomes true, it remains true indefinitely. There is no way to uncancel a task.