Schedules a block object to be submitted to a queue when a group of previously submitted block objects have completed.
- iOS 4.0+
- macOS 10.6+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The dispatch group to observe. The group is retained by the system until the block has run to completion. This parameter cannot be
The queue to which the supplied block is submitted when the group completes. The queue is retained by the system until the block has run to completion. This parameter cannot be
The block to submit when the group completes. This function performs a
Blockon behalf of the caller. This parameter cannot be
This function schedules a notification block to be submitted to the specified queue when all blocks associated with the dispatch group have completed. If the group is empty (no block objects are associated with the dispatch group), the notification block object is submitted immediately.
When the notification block is submitted, the group is empty. The group can either be released with
dispatch or be reused for additional block objects. See
dispatch for more information.