SudoVirtualCardsOperationQueue
open class SudoVirtualCardsOperationQueue : OperationQueue
Subclass adding behaviour around SudoVirtualCardsOperation in a queue.
-
Adds the specified operation to the receiver.
If the operation is a
SudoVirtualCardsOperation, the operation will have its conditions and extra functionality, such as delegation.Declaration
Swift
open override func addOperation(_ op: Operation)Parameters
opThe operation to be added to the queue.
-
Declaration
Swift
open override func addOperation(_ block: @escaping () -> Void) -
Adds the specified operations to the queue.
See
SudoVirtualCardsOperationQueue.addOperation(:)for more details.Important
If using
waitUntilFinished, please ensure the queue is not suspended, or the call will block.Declaration
Swift
open override func addOperations(_ ops: [Operation], waitUntilFinished wait: Bool)Parameters
opsThe operations to be added to the queue.
waitif true, will block and wait until all operations that are passed in have completed.
SudoVirtualCardsOperationQueue Class Reference