Skip to content

Commit a491b9d

Browse files
committed
Issue-2752 - Make FileChunk sendable
1 parent 5d26ac6 commit a491b9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/NIOFileSystem/FileChunks.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import NIOPosix
2020

2121
/// An `AsyncSequence` of ordered chunks read from a file.
2222
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
23-
public struct FileChunks: AsyncSequence {
23+
public struct FileChunks: AsyncSequence, Sendable {
2424
enum ChunkRange {
2525
case entireFile
2626
case partial(Range<Int64>)

0 commit comments

Comments
 (0)