(line?: string)
| 324 | } |
| 325 | |
| 326 | private push(line?: string) { |
| 327 | if (this.#partial !== undefined) { |
| 328 | this.#partial = this.#partial.trimEnd(); |
| 329 | this.#buffer.push(this.#partial); |
| 330 | for (const pipe of this.#pipes) { |
| 331 | void pipe.writeln(this.#partial); |
| 332 | } |
| 333 | } |
| 334 | this.#partial = line; |
| 335 | } |
| 336 | |
| 337 | /** processes a chunk from the stream */ |
| 338 | private readChunk(chunk: Buffer) { |