<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: -",
    "macOS: 10.10.0 -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Dispatch",
  "identifier" : "/documentation/Dispatch/DispatchWorkItem/notify(qos:flags:queue:execute:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Dispatch"
    ],
    "preciseIdentifier" : "s:8Dispatch0A8WorkItemC6notify3qos5flags5queue7executeyAA0A3QoSV_AA0abC5FlagsVSo012OS_dispatch_G0CyyXLtF"
  },
  "title" : "notify(qos:flags:queue:execute:)"
}
-->

# notify(qos:flags:queue:execute:)

Schedules the execution of the specified work item, with the specified quality-of-service, after the completion of the current work item.

```
func notify(qos: DispatchQoS = .unspecified, flags: DispatchWorkItemFlags = [], queue: DispatchQueue, execute: @escaping () -> Void)
```

## Parameters

`qos`

The quality-of-service class to use when prioritizing the work item’s execution. For a list of possible values, see [`DispatchQoS`](/documentation/Dispatch/DispatchQoS).

`flags`

Configuration flags for the work item. For a list of possible values, see [`DispatchWorkItemFlags`](/documentation/Dispatch/DispatchWorkItemFlags).

`queue`

The queue on which to execute the work item in the execute parameter.

`execute`

The work item to execute after the completion of the current work item.

## Discussion

---

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)