---
title: "notify(queue:execute:)"
framework: dispatch
role: symbol
role_heading: Instance Method
path: "dispatch/dispatchworkitem/notify(queue:execute:)"
---

# notify(queue:execute:)

Schedules the execution of the specified work item after the completion of the current work item.

## Declaration

```swift
func notify(queue: DispatchQueue, execute: DispatchWorkItem)
```

## Parameters

- `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.

## See Also

### Adding a Completion Handler

- [notify(qos:flags:queue:execute:)](dispatch/dispatchworkitem/notify(qos:flags:queue:execute:).md)
