From a491b9dd841235eb6ecbe5dab1839207cad94024 Mon Sep 17 00:00:00 2001 From: Ali Ali Date: Sat, 7 Sep 2024 15:39:43 +1000 Subject: [PATCH] Issue-2752 - Make FileChunk sendable --- Sources/NIOFileSystem/FileChunks.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/NIOFileSystem/FileChunks.swift b/Sources/NIOFileSystem/FileChunks.swift index b42d76e18d..b37648a67f 100644 --- a/Sources/NIOFileSystem/FileChunks.swift +++ b/Sources/NIOFileSystem/FileChunks.swift @@ -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)