SwiftextensionlibswiftDispatch

extension OS_dispatch_queue

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

extends{}

Members 35

  1. funcstatic concurrentPerform(iterations: Int, execute: (Int) -> ()) -> ()
  2. funcstatic getSpecific<A>(key: Dispatch.DispatchSpecificKey<A>) -> A?
  3. funcstatic global(qos: Dispatch.DispatchQoS.QoSClass) -> OS_dispatch_queue
  4. funcstatic global(priority: OS_dispatch_queue.GlobalQueuePriority) -> OS_dispatch_queue
  5. varstatic var main: OS_dispatch_queue { get }
  6. funcasUnownedTaskExecutor() -> UnownedTaskExecutor
  7. funcasync(group: OS_dispatch_group?, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) -> ()
  8. funcasync(group: OS_dispatch_group, execute: Dispatch.DispatchWorkItem) -> ()
  9. funcasync(execute: Dispatch.DispatchWorkItem) -> ()
  10. funcasyncAfter(wallDeadline: Dispatch.DispatchWallTime, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) -> ()
  11. funcasyncAfter(wallDeadline: Dispatch.DispatchWallTime, execute: Dispatch.DispatchWorkItem) -> ()
  12. funcasyncAfter(deadline: Dispatch.DispatchTime, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) -> ()
  13. funcasyncAfter(deadline: Dispatch.DispatchTime, execute: Dispatch.DispatchWorkItem) -> ()
  14. funcasyncAfterUnsafe(wallDeadline: Dispatch.DispatchWallTime, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) -> ()
  15. funcasyncAfterUnsafe(deadline: Dispatch.DispatchTime, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) -> ()
  16. funcasyncAndWait<A>(flags: Dispatch.DispatchWorkItemFlags, execute: () throws -> A) throws -> A
  17. funcasyncAndWait<A>(execute: () throws -> A) throws -> A
  18. funcasyncAndWait(execute: Dispatch.DispatchWorkItem) -> ()
  19. funcasyncUnsafe(group: OS_dispatch_group?, qos: Dispatch.DispatchQoS, flags: Dispatch.DispatchWorkItemFlags, execute: @convention(block) () -> ()) -> ()
  20. funcenqueue(UnownedJob) -> ()
  21. funcgetSpecific<A>(key: Dispatch.DispatchSpecificKey<A>) -> A?
  22. funcschedule(after: OS_dispatch_queue.SchedulerTimeType, interval: OS_dispatch_queue.SchedulerTimeType.Stride, tolerance: OS_dispatch_queue.SchedulerTimeType.Stride, options: OS_dispatch_queue.SchedulerOptions?, _: () -> ()) -> Combine.Cancellable
  23. funcschedule(after: OS_dispatch_queue.SchedulerTimeType, tolerance: OS_dispatch_queue.SchedulerTimeType.Stride, options: OS_dispatch_queue.SchedulerOptions?, _: () -> ()) -> ()
  24. funcschedule(options: OS_dispatch_queue.SchedulerOptions?, _: () -> ()) -> ()
  25. funcsetSpecific<A>(key: Dispatch.DispatchSpecificKey<A>, value: A?) -> ()
  26. funcsync<A>(flags: Dispatch.DispatchWorkItemFlags, execute: () throws -> A) throws -> A
  27. funcsync<A>(execute: () throws -> A) throws -> A
  28. funcsync(execute: Dispatch.DispatchWorkItem) -> ()
  29. initinit(label: String, qos: Dispatch.DispatchQoS, attributes: OS_dispatch_queue.Attributes, autoreleaseFrequency: OS_dispatch_queue.AutoreleaseFrequency, target: OS_dispatch_queue?) -> OS_dispatch_queue
  30. typealiastypealias SchedulerOptions = (extension in Dispatch):__C.SchedulerOptions
  31. typealiastypealias SchedulerTimeType = (extension in Dispatch):__C.SchedulerTimeType
  32. varvar label: String { get }
  33. varvar minimumTolerance: OS_dispatch_queue.SchedulerTimeType.Stride { get }
  34. varvar now: OS_dispatch_queue.SchedulerTimeType { get }
  35. varvar qos: Dispatch.DispatchQoS { get }
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
}