---
title: "DASessionSetDispatchQueue(_:_:)"
framework: Disk Arbitration
role: symbol
role_heading: Function
platforms: [Mac Catalyst 13.1+, macOS 10.7+]
path: "diskarbitration/dasessionsetdispatchqueue(_:_:)"
---

# DASessionSetDispatchQueue(_:_:)

Schedules the session on a dispatch queue.

## Declaration

```swift
func DASessionSetDispatchQueue(_ session: DASession, _ queue: dispatch_queue_t?)
```

## Parameters

- `session`: The session which is being scheduled.
- `queue`: The dispatch queue on which the session should be scheduled. Pass NULL to unschedule.

## See Also

### Miscellaneous

- [DASessionCreate(_:)](diskarbitration/dasessioncreate(_:).md)
- [DASessionGetTypeID()](diskarbitration/dasessiongettypeid().md)
- [DASessionScheduleWithRunLoop(_:_:_:)](diskarbitration/dasessionschedulewithrunloop(_:_:_:).md)
- [DASessionUnscheduleFromRunLoop(_:_:_:)](diskarbitration/dasessionunschedulefromrunloop(_:_:_:).md)
