summaryrefslogtreecommitdiff
path: root/cli/js/io.ts
AgeCommit message (Collapse)Author
2020-02-07toAsyncIterable: Remove unnecessary EOF check (#3914)Brad Dunbar
In denoland/deno#2335 a conditional was added to make sure toAsyncIterator didn't skip chunks because the reader returned data and EOF in a single call, fixing #2330. Later, in denoland/deno#2591, the `Reader` interface changed to `Promise<number | EOF>`. Since the reader no longer returns data and EOF in a single call, this conditional is not necessary. We can just return `{ done: true }` when we get `EOF`. Co-authored-by: Arun Srinivasan <rulfzid@gmail.com> Co-authored-by: Arun Srinivasan <rulfzid@gmail.com>
2020-01-02Happy new year! (#3578)Ry Dahl
2019-12-28Fix: allow reading into a 0-length array (#3329)Alexandre Szymocha
2019-10-31Make EOF unique symbol (#3244)Yoshiya Hinosawa
2019-10-04Merge deno_cli_snapshots into deno_cli (#3064)Ryan Dahl