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 init(queue: DispatchQueue, group: DispatchGroup? = nil, qos: DispatchQoS? = nil, flags: DispatchWorkItemFlags? = nil)
-
Undocumented
Declaration
Swift
public func dispatch(_ body: @escaping () -> Void)