We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85f9271 commit 4cc50c5Copy full SHA for 4cc50c5
Sources/OpenAPIRuntime/EventStreams/ServerSentEventsDecoding.swift
@@ -60,7 +60,7 @@ extension ServerSentEventsDeserializationSequence: AsyncSequence {
60
61
/// A closure that determines whether the given byte chunk should be forwarded to the consumer.
62
/// - Parameter: A byte chunk.
63
- /// - Returns: `True` until the terminating byte sequence is received.
+ /// - Returns: `true` if the byte chunk should be forwarded, `false` if this byte chunk is the terminating sequence.
64
let predicate: (ArraySlice<UInt8>) -> Bool
65
66
init(upstream: any AsyncIteratorProtocol, while predicate: @escaping ((ArraySlice<UInt8>) -> Bool)) {
0 commit comments