Contents

addOperation(_:)

Adds the specified operation to the receiver.

Declaration

func addOperation(_ op: Operation)

Parameters

  • op:

    The operation to be added to the queue.

Discussion

Once added, the specified operation remains in the queue until it finishes executing.

See Also

Related Documentation

Managing Operations in the Queue