isCancelled
A Boolean value that indicates whether the group was canceled.
Declaration
var isCancelled: Bool { get }Discussion
To cancel a group, call the TaskGroup.cancelAll() method.
If the task that’s currently running this group is canceled, the group is also implicitly canceled, which is also reflected in this property’s value.