---
title: DispatchSourceRead
framework: dispatch
role: symbol
role_heading: Protocol
path: dispatch/dispatchsourceread
---

# DispatchSourceRead

A dispatch source object for reading data from a file descriptor.

## Declaration

```swift
protocol DispatchSourceRead : DispatchSourceProtocol, Sendable
```

## Overview

Overview You do not adopt this protocol in your objects. Instead, use the makeReadSource(fileDescriptor:queue:) method to create an object that adopts this protocol.

## Relationships

### Inherits From

- [DispatchSourceProtocol](dispatch/dispatchsourceprotocol.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

### Conforming Types

- [DispatchSource](dispatch/dispatchsource.md)

## See Also

### Creating a File System Source

- [makeReadSource(fileDescriptor:queue:)](dispatch/dispatchsource/makereadsource(filedescriptor:queue:).md)
- [makeWriteSource(fileDescriptor:queue:)](dispatch/dispatchsource/makewritesource(filedescriptor:queue:).md)
- [makeFileSystemObjectSource(fileDescriptor:eventMask:queue:)](dispatch/dispatchsource/makefilesystemobjectsource(filedescriptor:eventmask:queue:).md)
- [DispatchSourceWrite](dispatch/dispatchsourcewrite.md)
- [DispatchSourceFileSystemObject](dispatch/dispatchsourcefilesystemobject.md)
- [DispatchSource.FileSystemEvent](dispatch/dispatchsource/filesystemevent.md)
