SwiftextensionlibswiftDispatch
OS_dispatch_queue
extension OS_dispatch_queue
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
classOS_dispatch_queue
Members 35
- func
static concurrentPerform(iterations: Int, execute: (Int) -> ()) -> () - func
static getSpecific<A>(key: Dispatch.DispatchSpecificKey<A>) -> A? - func
static global(qos: Dispatch.DispatchQoS.QoSClass) -> OS_dispatch_queue - func
static global(priority: OS_dispatch_queue.GlobalQueuePriority) -> OS_dispatch_queue - var
static var main: OS_dispatch_queue { get } - func
asUnownedTaskExecutor() -> UnownedTaskExecutor - func
async(group: OS_dispatch_group?, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) -> () - func
async(group: OS_dispatch_group, execute: Dispatch.DispatchWorkItem) -> () - func
async(execute: Dispatch.DispatchWorkItem) -> () - func
asyncAfter(wallDeadline: Dispatch.DispatchWallTime, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) -> () - func
asyncAfter(wallDeadline: Dispatch.DispatchWallTime, execute: Dispatch.DispatchWorkItem) -> () - func
asyncAfter(deadline: Dispatch.DispatchTime, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) -> () - func
asyncAfter(deadline: Dispatch.DispatchTime, execute: Dispatch.DispatchWorkItem) -> () - func
asyncAfterUnsafe(wallDeadline: Dispatch.DispatchWallTime, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) -> () - func
asyncAfterUnsafe(deadline: Dispatch.DispatchTime, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) -> () - func
asyncAndWait<A>(flags: Dispatch.DispatchWorkItemFlags, execute: () throws -> A) throws -> A - func
asyncAndWait<A>(execute: () throws -> A) throws -> A - func
asyncAndWait(execute: Dispatch.DispatchWorkItem) -> () - func
asyncUnsafe(group: OS_dispatch_group?, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) -> () - func
enqueue(UnownedJob) -> () - func
getSpecific<A>(key: Dispatch.DispatchSpecificKey<A>) -> A? - func
schedule(after: OS_dispatch_queue.SchedulerTimeType, interval: OS_dispatch_queue.SchedulerTimeType.Stride, tolerance: OS_dispatch_queue.SchedulerTimeType.Stride, options: OS_dispatch_queue.SchedulerOptions?, _: () -> ()) -> Combine.Cancellable - func
schedule(after: OS_dispatch_queue.SchedulerTimeType, tolerance: OS_dispatch_queue.SchedulerTimeType.Stride, options: OS_dispatch_queue.SchedulerOptions?, _: () -> ()) -> () - func
schedule(options: OS_dispatch_queue.SchedulerOptions?, _: () -> ()) -> () - func
setSpecific<A>(key: Dispatch.DispatchSpecificKey<A>, value: A?) -> () - func
sync<A>(flags: Dispatch.DispatchWorkItemFlags, execute: () throws -> A) throws -> A - func
sync<A>(execute: () throws -> A) throws -> A - func
sync(execute: Dispatch.DispatchWorkItem) -> () - init
init(label: String, qos: Dispatch.DispatchQoS, attributes: OS_dispatch_queue.Attributes, autoreleaseFrequency: OS_dispatch_queue.AutoreleaseFrequency, target: OS_dispatch_queue?) -> OS_dispatch_queue - typealias
typealias SchedulerOptions = (extension in Dispatch):__C.SchedulerOptions - typealias
typealias SchedulerTimeType = (extension in Dispatch):__C.SchedulerTimeType - var
var label: String { get } - var
var minimumTolerance: OS_dispatch_queue.SchedulerTimeType.Stride { get } - var
var now: OS_dispatch_queue.SchedulerTimeType { get } - var
var qos: Dispatch.DispatchQoS { get }
Header
extension __C.OS_dispatch_queue { struct Attributes { let rawValue: Swift.UInt64 static var concurrent: __C.OS_dispatch_queue.Attributes { get } static var initiallyInactive: __C.OS_dispatch_queue.Attributes { get } } enum GlobalQueuePriority { case high case default case low case background } enum AutoreleaseFrequency { case inherit case workItem case never } struct SchedulerTimeType { struct Stride { enum CodingKeys { case _nanoseconds } var _nanoseconds: Swift.Int64 init(floatLiteral: Swift.Double) init(integerLiteral: Swift.Int) init?<A>(exactly: A) where A: Swift.BinaryInteger init(_: Dispatch.DispatchTimeInterval) var magnitude: Swift.Int { get set } var timeInterval: Dispatch.DispatchTimeInterval { get } static func nanoseconds(_: Swift.Int) -> __C.OS_dispatch_queue.SchedulerTimeType.Stride static func microseconds(_: Swift.Int) -> __C.OS_dispatch_queue.SchedulerTimeType.Stride static func milliseconds(_: Swift.Int) -> __C.OS_dispatch_queue.SchedulerTimeType.Stride static func < (_: __C.OS_dispatch_queue.SchedulerTimeType.Stride, _: __C.OS_dispatch_queue.SchedulerTimeType.Stride) -> Swift.Bool static func * (_: __C.OS_dispatch_queue.SchedulerTimeType.Stride, _: __C.OS_dispatch_queue.SchedulerTimeType.Stride) -> __C.OS_dispatch_queue.SchedulerTimeType.Stride static func + (_: __C.OS_dispatch_queue.SchedulerTimeType.Stride, _: __C.OS_dispatch_queue.SchedulerTimeType.Stride) -> __C.OS_dispatch_queue.SchedulerTimeType.Stride static func - (_: __C.OS_dispatch_queue.SchedulerTimeType.Stride, _: __C.OS_dispatch_queue.SchedulerTimeType.Stride) -> __C.OS_dispatch_queue.SchedulerTimeType.Stride static func *= (_: inout __C.OS_dispatch_queue.SchedulerTimeType.Stride, _: __C.OS_dispatch_queue.SchedulerTimeType.Stride) static func += (_: inout __C.OS_dispatch_queue.SchedulerTimeType.Stride, _: __C.OS_dispatch_queue.SchedulerTimeType.Stride) static func -= (_: inout __C.OS_dispatch_queue.SchedulerTimeType.Stride, _: __C.OS_dispatch_queue.SchedulerTimeType.Stride) static func seconds(_: Swift.Double) -> __C.OS_dispatch_queue.SchedulerTimeType.Stride static func seconds(_: Swift.Int) -> __C.OS_dispatch_queue.SchedulerTimeType.Stride } var dispatchTime: Dispatch.DispatchTime init(_: Dispatch.DispatchTime) func advanced(by: __C.OS_dispatch_queue.SchedulerTimeType.Stride) -> __C.OS_dispatch_queue.SchedulerTimeType func distance(to: __C.OS_dispatch_queue.SchedulerTimeType) -> __C.OS_dispatch_queue.SchedulerTimeType.Stride } struct SchedulerOptions { var qos: Dispatch.DispatchQoS var flags: Dispatch.DispatchWorkItemFlags var group: __C.OS_dispatch_group? init(qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, group: __C.OS_dispatch_group?) } init(label: Swift.String, qos: Dispatch.DispatchQoS, attributes: __C.OS_dispatch_queue.Attributes, autoreleaseFrequency: __C.OS_dispatch_queue.AutoreleaseFrequency, target: __C.OS_dispatch_queue?) var label: Swift.String { get } var minimumTolerance: __C.OS_dispatch_queue.SchedulerTimeType.Stride { get } var now: __C.OS_dispatch_queue.SchedulerTimeType { get } var qos: Dispatch.DispatchQoS { get } func asyncAfter(wallDeadline: Dispatch.DispatchWallTime, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) func asyncAfter(wallDeadline: Dispatch.DispatchWallTime, execute: Dispatch.DispatchWorkItem) func asyncAfter(deadline: Dispatch.DispatchTime, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) func asyncAfter(deadline: Dispatch.DispatchTime, execute: Dispatch.DispatchWorkItem) func asyncUnsafe(group: __C.OS_dispatch_group?, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) func getSpecific<A>(key: Dispatch.DispatchSpecificKey<A>) -> A? func setSpecific<A>(key: Dispatch.DispatchSpecificKey<A>, value: A?) func asyncAndWait<A>(flags: Dispatch.DispatchWorkItemFlags, execute: () throws -> A) throws -> A func asyncAndWait<A>(execute: () throws -> A) throws -> A func asyncAndWait(execute: Dispatch.DispatchWorkItem) func asyncAfterUnsafe(wallDeadline: Dispatch.DispatchWallTime, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) func asyncAfterUnsafe(deadline: Dispatch.DispatchTime, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) func asUnownedTaskExecutor() -> Swift.UnownedTaskExecutor func sync<A>(flags: Dispatch.DispatchWorkItemFlags, execute: () throws -> A) throws -> A func sync<A>(execute: () throws -> A) throws -> A func sync(execute: Dispatch.DispatchWorkItem) func async(group: __C.OS_dispatch_group?, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) func async(group: __C.OS_dispatch_group, execute: Dispatch.DispatchWorkItem) func async(execute: Dispatch.DispatchWorkItem) func enqueue(_: Swift.UnownedJob) func schedule(after: __C.OS_dispatch_queue.SchedulerTimeType, interval: __C.OS_dispatch_queue.SchedulerTimeType.Stride, tolerance: __C.OS_dispatch_queue.SchedulerTimeType.Stride, options: __C.OS_dispatch_queue.SchedulerOptions?, _: @escaping () -> ()) -> any Combine.Cancellable func schedule(after: __C.OS_dispatch_queue.SchedulerTimeType, tolerance: __C.OS_dispatch_queue.SchedulerTimeType.Stride, options: __C.OS_dispatch_queue.SchedulerOptions?, _: @escaping () -> ()) func schedule(options: __C.OS_dispatch_queue.SchedulerOptions?, _: @escaping () -> ()) static var main: __C.OS_dispatch_queue { get } static func getSpecific<A>(key: Dispatch.DispatchSpecificKey<A>) -> A? static func concurrentPerform(iterations: Swift.Int, execute: (_: Swift.Int) -> ()) static func global(qos: Dispatch.DispatchQoS.QoSClass) -> __C.OS_dispatch_queue static func global(priority: __C.OS_dispatch_queue.GlobalQueuePriority) -> __C.OS_dispatch_queue }