Skip to content

Commit 469ec9f

Browse files
paulhdkczechboy0
andcommitted
Update doc comment in Sources/OpenAPIRuntime/EventStreams/ServerSentEventsDecoding.swift
Co-authored-by: Honza Dvorsky <[email protected]>
1 parent 529c3dd commit 469ec9f

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)