Instance Property

name

The name of the operation queue.

Declaration

var name: String? { get set }

Discussion

Names provide a way for you to identify your operation queues at run time. Tools may also use this name to provide additional context during debugging or analysis of your code.

The default value of this property is a string containing the memory address of the operation queue. You may monitor changes to the value of this property using Key-value observing. Configure an observer to monitor the name key path of the operation queue.

See Also

Configuring the Queue

var underlyingQueue: DispatchQueue?

The dispatch queue used to execute operations.