DispatchQueueDispatcher

public struct DispatchQueueDispatcher : Dispatcher

A Dispatcher that bundles a DispatchQueue with a DispatchGroup, a set of DispatchWorkItemFlags, and a quality-of-service level. Closures dispatched through this Dispatcher will be submitted to the underlying DispatchQueue with the supplied components.

  • Undocumented

    Declaration

    Swift

    public func dispatch(_ body: @escaping () -> Void)