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 a87515e commit 85f9271Copy full SHA for 85f9271
Sources/OpenAPIRuntime/EventStreams/ServerSentEventsDecoding.swift
@@ -58,7 +58,7 @@ extension ServerSentEventsDeserializationSequence: AsyncSequence {
58
/// The state machine of the iterator.
59
var stateMachine: StateMachine
60
61
- /// A closure that determines whether the given byte sequence is the terminating byte sequence defined by the API.
+ /// 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.
64
let predicate: (ArraySlice<UInt8>) -> Bool
0 commit comments