<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Dispatch",
  "identifier" : "/documentation/Dispatch/DispatchQueue/SchedulerOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Dispatch"
    ],
    "preciseIdentifier" : "s:So17OS_dispatch_queueC8DispatchE16SchedulerOptionsV"
  },
  "title" : "DispatchQueue.SchedulerOptions"
}
-->

# DispatchQueue.SchedulerOptions

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

```
struct SchedulerOptions
```

## Topics

### Creating Dispatch Queue Scheduler Options

[`init(qos: DispatchQoS, flags: DispatchWorkItemFlags, group: DispatchGroup?)`](/documentation/Dispatch/DispatchQueue/SchedulerOptions/init(qos:flags:group:))

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

### Inspecting Scheduler Options

[`var qos: DispatchQoS`](/documentation/Dispatch/DispatchQueue/SchedulerOptions/qos)

The dispatch queue quality of service.

[`var flags: DispatchWorkItemFlags`](/documentation/Dispatch/DispatchQueue/SchedulerOptions/flags)

The dispatch queue work item flags.

[`var group: DispatchGroup?`](/documentation/Dispatch/DispatchQueue/SchedulerOptions/group)

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

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)