var isCancelled : Bool
A Boolean value that indicates whether the group was canceled.
あるブール値、それはグループが取り消されたかどうかを指し示す。
Availability
Technology
func cancelAll()
After cancellation, any new results or errors from the tasks in this group are silently discarded.
If you add a task to a group after canceling the group, that task is canceled immediately after being added to the group.
There are no restrictions on where you can call this method. Code inside a child task or even another task can cancel a group.
var isCancelled : Bool
Task
Throwing