Skip to content

Commit 11ecc69

Browse files
committed
Don’t require writeData to be Sendable
1 parent 2507c5e commit 11ecc69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PostgresNIO/Connection/PostgresConnection+CopyFrom.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ extension PostgresConnection {
183183
isolation: isolated (any Actor)? = #isolation,
184184
file: String = #fileID,
185185
line: Int = #line,
186-
writeData: @escaping @Sendable (PostgresCopyFromWriter) async throws -> Void
186+
writeData: (PostgresCopyFromWriter) async throws -> Void
187187
) async throws {
188188
var logger = logger
189189
logger[postgresMetadataKey: .connectionID] = "\(self.id)"

0 commit comments

Comments
 (0)