mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-19 05:31:16 -05:00
Regular ReadStreams still can't; I now believe they shouldn't have a "default" read method, and you should explicitly choose whether you want to read "by chunks as they become available", "by chunks of a specific line" or "by a delimiter". So you would specifically use `stream.byLine()` or `stream.byChunk([size])`, which would return an `ObjectReadStream<string>`. Inspired by #7195 |
||
|---|---|---|
| .. | ||
| crashlogger.ts | ||
| DASHYCODE.md | ||
| dashycode.ts | ||
| fs.ts | ||
| net.ts | ||
| process-manager.ts | ||
| repl.ts | ||
| STREAMS.md | ||
| streams.ts | ||
| utils.ts | ||