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 179760d commit a87515eCopy full SHA for a87515e
Sources/OpenAPIRuntime/EventStreams/ServerSentEventsDecoding.swift
@@ -36,7 +36,7 @@ where Upstream.Element == ArraySlice<UInt8> {
36
/// Creates a new sequence.
37
/// - Parameters:
38
/// - upstream: The upstream sequence of arbitrary byte chunks.
39
- /// - while: A closure that determines whether the given byte sequence is the terminating byte sequence defined by the API.
+ /// - while: A closure that determines whether the given byte chunk should be forwarded to the consumer.
40
public init(upstream: Upstream, while predicate: @escaping @Sendable (ArraySlice<UInt8>) -> Bool) {
41
self.upstream = upstream
42
self.predicate = predicate
0 commit comments