Instance Method

notify(queue:execute:)

Schedules the execution of the specified work item after the completion of the current work item.

Declaration

func notify(queue: DispatchQueue, execute: DispatchWorkItem)

Parameters

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.

See Also

Adding a Completion Handler

func notify(qos: DispatchQoS, flags: DispatchWorkItemFlags, queue: DispatchQueue, execute: () -> Void)

Schedules the execution of the specified work item, with the specified quality-of-service, after the completion of the current work item.