Skip to content

Commit

Permalink
chore(internal): remove unnecessary .buffered() call
Browse files Browse the repository at this point in the history
chore: unknown commit message
  • Loading branch information
stainless-bot authored and Stainless Bot committed Oct 28, 2024
1 parent c96911b commit 2e43707
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal fun sseHandler(jsonMapper: JsonMapper): Handler<StreamResponse<SseMessa

override fun handle(response: HttpResponse): StreamResponse<SseMessage> {
val sequence = sequence {
response.body().bufferedReader().buffered().useLines { lines ->
response.body().bufferedReader().useLines { lines ->
val state = SseState(jsonMapper)
var done = false
for (line in lines) {
Expand Down

0 comments on commit 2e43707

Please sign in to comment.