mirror of
https://github.com/apple/swift-async-algorithms
synced 2026-11-28 04:54:20 +00:00
Fix typo in BufferedBytes.md (#158)
`BufferedAsyncByteIterator` -> `AsyncBufferedByteIterator`
This commit is contained in:
1 parent
a973b06d06
commit
6e9a5757bc
1 file changed
+1
-1
@@ -17,7 +17,7 @@ struct AsyncBytes: AsyncSequence {
|
||||
}
|
||||
|
||||
public func makeAsyncIterator() -> AsyncBufferedByteIterator {
|
||||
return BufferedAsyncByteIterator(capacity: 16384) { buffer in
|
||||
return AsyncBufferedByteIterator(capacity: 16384) { buffer in
|
||||
// This runs once every 16384 invocations of next()
|
||||
return try await handle.read(into: buffer)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user