File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/OpenAPIRuntime/EventStreams Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ where Upstream.Element == ArraySlice<UInt8> {
28
28
/// The upstream sequence.
29
29
private let upstream : Upstream
30
30
31
- /// A closure that determines whether the given byte sequence is the terminating byte sequence defined by the API .
31
+ /// A closure that determines whether the given byte chunk should be forwarded to the consumer .
32
32
/// - Parameter: A byte chunk.
33
- /// - Returns: `True` until the terminating byte sequence is received .
33
+ /// - Returns: `true` if the byte chunk should be forwarded, `false` if this byte chunk is the terminating sequence .
34
34
private let predicate : @Sendable ( ArraySlice < UInt8 > ) -> Bool
35
35
36
36
/// Creates a new sequence.
You can’t perform that action at this time.
0 commit comments