(chunk: string)
| 53 | private ended = false |
| 54 | |
| 55 | push(chunk: string): void { |
| 56 | if (chunk === '') return |
| 57 | const waiter = this.waiters.shift() |
| 58 | if (waiter) waiter({ value: chunk, done: false }) |
| 59 | else this.chunks.push(chunk) |
| 60 | } |
| 61 | |
| 62 | end(): void { |
| 63 | this.ended = true |
no outgoing calls
no test coverage detected