diff options
| author | bdistin <bdistin@gmail.com> | 2019-01-29 12:24:40 -0600 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-29 13:24:40 -0500 |
| commit | 457e65bc2f819ffda7a8192747099d62e65582bf (patch) | |
| tree | 89cb6ee3bae607ba85a0cf4a214d528ad54f3e73 | |
| parent | dc09c3a65d6882fc5a25d808277b6cfadde92d65 (diff) | |
docs/typo: readerIterator -> toAsyncIterator as exported (#1620)
| -rw-r--r-- | js/io.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -119,7 +119,7 @@ export async function copy(dst: Writer, src: Reader): Promise<number> { /** Turns `r` into async iterator. * - * for await (const chunk of readerIterator(reader)) { + * for await (const chunk of toAsyncIterator(reader)) { * console.log(chunk) * } */ |
