diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-22 21:30:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-22 21:30:45 +0200 |
commit | 68d287eed5dcdc7b84a317fa90c4c9131389c0b8 (patch) | |
tree | 2d6c623858ef89504f26a49ffd169e1d2b2e8453 /cli/js/deno.ts | |
parent | da6819a14c54d1a2221b37f00b3302eb2d50660b (diff) |
BREAKING CHANGE: rename Deno.toAsyncIterator() to Deno.iter() (#4848)
* rename Deno.toAsyncIterator() to Deno.iter()
* adds sync version Deno.iterSync()
* adds optional second argument for buffer size
Diffstat (limited to 'cli/js/deno.ts')
-rw-r--r-- | cli/js/deno.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/js/deno.ts b/cli/js/deno.ts index e35e8c161..b75df4a9d 100644 --- a/cli/js/deno.ts +++ b/cli/js/deno.ts @@ -42,7 +42,8 @@ export { FsEvent, fsEvents } from "./ops/fs_events.ts"; export { EOF, copy, - toAsyncIterator, + iter, + iterSync, SeekMode, Reader, SyncReader, |