Schedules a block asynchronously for execution and simultaneously associates it with the specified dispatch group.
- iOS 4.0+
- macOS 10.6+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
A dispatch group to associate the submitted block object with. The group is retained by the system until the block has run to completion. This parameter cannot be
The dispatch queue to which the block object is submitted for asynchronous invocation. The queue is retained by the system until the block has run to completion. This parameter cannot be
The block object to perform asynchronously. This function performs a
Blockon behalf of the caller.
Submits a block to a dispatch queue and associates the block object with the given dispatch group. The dispatch group can be used to wait for the completion of the block objects it references.