Open ClassFoundation5.9.0
OperationQueue
- macOS
- 10.5+
class OperationQueue
Superclasses
class NSObject
The root class of most Foundation class hierarchies.
Citizens in Foundation
Conformances
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol NSObjectProtocol
The
NSObjectProtocol
groups methods that are fundamental to all Foundation objects.protocol ProgressReporting
If your class supports reporting progress, then you can adopt the ProgressReporting protocol.
Members
init(
) static let defaultMaxConcurrentOperationCount: Int
class var current: OperationQueue?
class var main: OperationQueue
var isSuspended: Bool
var maxConcurrentOperationCount: Int
var name: String?
var operationCount: Int
var operations: [Operation]
var progress: Progress
var qualityOfService: QualityOfService
var underlyingQueue: DispatchQueue?
func addBarrierBlock(() -> Void
) func addOperation(Operation
) func addOperation(() -> Void
) func addOperations([Operation], waitUntilFinished: Bool
) func cancelAllOperations(
) func waitUntilAllOperationsAreFinished(
)