Retrieves results from a query asynchronously by adding the query to a dispatch queue.
SDK
- macOS 10.6+
Framework
- Open
Directory
Declaration
func ODQuerySetDispatchQueue(_ query: ODQuery Ref!, _ queue: Dispatch Queue!)
Parameters
inQuery
The query.
inQueue
The dispatch queue.
Discussion
When the query is complete, the query’s callback function is called with both in
and in
set to NULL
.