Initializer

init(qosClass:relativePriority:)

Creates a new DispatchQoS object with the specified QoS class and relative priority.

Declaration

init(qosClass: DispatchQoS.QoSClass, relativePriority: Int)

Parameters

qosClass

The QoS class.

For possible values, see DispatchQoS.QoSClass.

relativePriority

The relative priority.

See Also

Creating a QoS Object

enum DispatchQoS.QoSClass

Quality-of-service classes that specify the priorities for executing tasks.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software