Skip to content

Commit a87515e

Browse files
paulhdkczechboy0
andauthored
Update doc comment in Sources/OpenAPIRuntime/EventStreams/ServerSentEventsDecoding.swift
Co-authored-by: Honza Dvorsky <honza@apple.com>
1 parent 179760d commit a87515e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/OpenAPIRuntime/EventStreams/ServerSentEventsDecoding.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ where Upstream.Element == ArraySlice<UInt8> {
3636
/// Creates a new sequence.
3737
/// - Parameters:
3838
/// - 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.
39+
/// - while: A closure that determines whether the given byte chunk should be forwarded to the consumer.
4040
public init(upstream: Upstream, while predicate: @escaping @Sendable (ArraySlice<UInt8>) -> Bool) {
4141
self.upstream = upstream
4242
self.predicate = predicate

0 commit comments

Comments
 (0)