Skip to content

Commit

Permalink
Fix response stream doesn't yield queued items
Browse files Browse the repository at this point in the history
  • Loading branch information
DogLooksGood committed Jan 27, 2025
1 parent e806487 commit 63fae48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/sdk-core/src/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export class ResponseHandle<T = void, E = void> {
let queueHead = this.queue.shift()
if (queueHead !== undefined) {
yield queueHead
continue
}
if (this.resolve === undefined) {
// Terminate if we have an error status
Expand Down

0 comments on commit 63fae48

Please sign in to comment.