One Logo Pool Ball
Dispatch · IOS API REFERENCE

DispatchWorkloop

class · iOS 12.0+ · SDK 27.1

class DispatchWorkloop

Members (1)

init · iOS 17.0+

init

TypeScript
static init(label: string, attributes?: DispatchWorkloop_Attributes, autoreleaseFrequency?: DispatchQueue_AutoreleaseFrequency, osWorkgroup?: (SDKHandle) | null): DispatchWorkloop
Swift declaration
convenience init(label: String, attributes: DispatchWorkloop.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .workItem, osWorkgroup: WorkGroup? = nil)

Initializes an instance of DispatchWorkloop - parameter label: A string label to attach to the workloop. - parameter attributes: Additional workloop attributes to customize. (See DispatchWorkloop.Attributes). - parameter autoreleaseFrequency: Autorelease frequency to assign to the workloop. See DispatchQueue.AutoreleaseFrequency. Defaults to AutoreleaseFrequency.workItem. - parameter osWorkgroup: OS Workgroup to assign to the workloop.

Skipped declarations

No declarations were skipped in this snapshot.

All Dispatch types →