func addTask (priority: TaskPriority?, operation: @Sendable () -> ChildTaskResult)
Adds a child task to the group.
func addTaskUnlessCancelled (priority: TaskPriority?, operation: @Sendable () -> ChildTaskResult) -> Bool
Adds a child task to the group, unless the group has been canceled.