Structure

DispatchQueue.SchedulerOptions

A set of options that affect the operation of the dispatch queue scheduler.

Declaration

struct SchedulerOptions

Topics

Creating Dispatch Queue Scheduler Options

init(qos: DispatchQoS, flags: DispatchWorkItemFlags, group: DispatchGroup?)

Creates a dispatch queue scheduler options instance with the given options.

Inspecting Scheduler Options

var qos: DispatchQoS

The dispatch queue quality of service.

var flags: DispatchWorkItemFlags

The dispatch queue work item flags.

var group: DispatchGroup?

The dispatch group, if any, to use when performing actions.

Relationships

From Protocol

See Also

Scheduling Combine Publishers

func schedule(options: DispatchQueue.SchedulerOptions?, () -> Void)

Performs the action at some time after the specified date, using the scheduler’s minimum tolerance.

var minimumTolerance: DispatchQueue.SchedulerTimeType.Stride

The minimum tolerance allowed by the dispatch queue scheduler.

var now: DispatchQueue.SchedulerTimeType

The dispatch queue scheduler’s definition of the current moment in time.

struct DispatchQueue.SchedulerTimeType

The scheduler time type used by the dispatch queue.

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