Skip to content

Commit

Permalink
Issue-2752 - Make FileChunk sendable
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-ahsan-ali committed Sep 7, 2024
1 parent 5d26ac6 commit a491b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/NIOFileSystem/FileChunks.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import NIOPosix

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

0 comments on commit a491b9d

Please sign in to comment.