---
title: DispatchSerialQueue
framework: dispatch
role: symbol
role_heading: Class
path: dispatch/dispatchserialqueue
---

# DispatchSerialQueue

A custom dispatch queue that schedules tasks for serial execution on an arbitrary thread.

## Declaration

```swift
class DispatchSerialQueue
```

## Overview

Overview You do not create objects of this type directly. You receive a queue of the appropriate type when you create a new DispatchQueue object.

## Topics

### Structures

- [DispatchSerialQueue.Attributes](dispatch/dispatchserialqueue/attributes.md)

### Initializers

- [init(label:qos:attributes:autoreleaseFrequency:target:)](dispatch/dispatchserialqueue/init(label:qos:attributes:autoreleasefrequency:target:).md)

## Relationships

### Inherited By

- [OS_dispatch_queue_main](dispatch/os_dispatch_queue_main-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [Equatable](swift/equatable.md)
- [Executor](swift/executor.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Scheduler](combine/scheduler.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SerialExecutor](swift/serialexecutor.md)
- [TaskExecutor](swift/taskexecutor.md)

## See Also

### Creating a Dispatch Queue

- [main](dispatch/dispatchqueue/main.md)
- [global(qos:)](dispatch/dispatchqueue/global(qos:).md)
- [init(label:qos:attributes:autoreleaseFrequency:target:)](dispatch/dispatchqueue/init(label:qos:attributes:autoreleasefrequency:target:).md)
- [DispatchQoS.QoSClass](dispatch/dispatchqos/qosclass-swift.enum.md)
- [DispatchQueue.Attributes](dispatch/dispatchqueue/attributes.md)
- [DispatchQueue.AutoreleaseFrequency](dispatch/dispatchqueue/autoreleasefrequency.md)
- [OS_dispatch_queue_main](dispatch/os_dispatch_queue_main-swift.class.md)
- [OS_dispatch_queue_global](dispatch/os_dispatch_queue_global-swift.class.md)
- [DispatchConcurrentQueue](dispatch/dispatchconcurrentqueue.md)
- [dispatch_queue_main_t](dispatch/dispatch_queue_main_t.md)
- [dispatch_queue_global_t](dispatch/dispatch_queue_global_t.md)
- [dispatch_queue_serial_t](dispatch/dispatch_queue_serial_t.md)
- [dispatch_queue_concurrent_t](dispatch/dispatch_queue_concurrent_t.md)
