SudoVirtualCardsOperationQueue

open class SudoVirtualCardsOperationQueue : OperationQueue

Subclass adding behaviour around SudoVirtualCardsOperation in a queue.

Methods: OperationQueue

  • 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

    op

    The 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

    ops

    The operations to be added to the queue.

    wait

    if true, will block and wait until all operations that are passed in have completed.