DispatchGroup.DispatchAsync(DispatchQueue, Action) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Submits a block to a dispatch queue and associates the block with the given dispatch group.
public void DispatchAsync (CoreFoundation.DispatchQueue queue, Action action);
member this.DispatchAsync : CoreFoundation.DispatchQueue * Action -> unit
Parameters
- queue
- DispatchQueue
The dispatch queue to which the block will be submitted for asynchronous invocation.
- action
- Action
The action to invoke asynchronously.
Remarks
Submits a block to a dispatch queue and associates the block with the given dispatch group. The dispatch group may be used to wait for the completion of the blocks it references.