Skip to content

Commit 85f9271

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

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
@@ -58,7 +58,7 @@ extension ServerSentEventsDeserializationSequence: AsyncSequence {
5858
/// The state machine of the iterator.
5959
var stateMachine: StateMachine
6060

61-
/// A closure that determines whether the given byte sequence is the terminating byte sequence defined by the API.
61+
/// A closure that determines whether the given byte chunk should be forwarded to the consumer.
6262
/// - Parameter: A byte chunk.
6363
/// - Returns: `True` until the terminating byte sequence is received.
6464
let predicate: (ArraySlice<UInt8>) -> Bool

0 commit comments

Comments
 (0)