---
title: "SCDynamicStoreSetDispatchQueue(_:_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scdynamicstoresetdispatchqueue(_:_:)"
---

# SCDynamicStoreSetDispatchQueue(_:_:)

Initiates notifications for the notification keys, using the specified dispatch queue for the callback.

## Declaration

```swift
func SCDynamicStoreSetDispatchQueue(_ store: SCDynamicStore, _ queue: dispatch_queue_t?) -> Bool
```

## Parameters

- `store`: The dynamic store session.
- `queue`: The dispatch queue on which to run the callback function. Pass NULL to disable notifications and release the queue.

## Return Value

Return Value TRUE if notifications were successfully initiated; otherwise, FALSE.

## See Also

### Monitoring Keys and Values

- [SCDynamicStoreNotifyValue(_:_:)](systemconfiguration/scdynamicstorenotifyvalue(_:_:).md)
- [SCDynamicStoreSetNotificationKeys(_:_:_:)](systemconfiguration/scdynamicstoresetnotificationkeys(_:_:_:).md)
