notify(qos:flags:queue:execute:)
Schedules the execution of the specified work item, with the specified quality-of-service, after the completion of the current work item.
Declaration
func notify(qos: DispatchQoS = .unspecified, flags: DispatchWorkItemFlags = [], queue: DispatchQueue, execute: @escaping () -> Void)Parameters
- qos:
The quality-of-service class to use when prioritizing the work item’s execution. For a list of possible values, see Dispatchqos.
- flags:
Configuration flags for the work item. For a list of possible values, see Dispatchworkitemflags.
- queue:
The queue on which to execute the work item in the execute parameter.
- execute:
The work item to execute after the completion of the current work item.