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 38b16a3 commit 699f397Copy full SHA for 699f397
stream_reader.go
@@ -108,6 +108,6 @@ func (stream *streamReader[T]) unmarshalError() (errResp *ErrorResponse) {
108
return
109
}
110
111
-func (stream *streamReader[T]) Close() {
112
- stream.response.Body.Close()
+func (stream *streamReader[T]) Close() error {
+ return stream.response.Body.Close()
113
0 commit comments