Skip to content

Commit 67c8b43

Browse files
Proper event loop
1 parent 274bba7 commit 67c8b43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/Alchemy/HTTP/Content/ByteContent.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ public final class ByteStream: AsyncSequence {
168168
}
169169
}
170170
}
171+
.hop(to: eventLoop)
171172
}
172173

173174
public func readAll(chunkHandler: (Element) async throws -> Void) async throws {

0 commit comments

Comments
 (0)