From 457e65bc2f819ffda7a8192747099d62e65582bf Mon Sep 17 00:00:00 2001 From: bdistin Date: Tue, 29 Jan 2019 12:24:40 -0600 Subject: [PATCH] docs/typo: readerIterator -> toAsyncIterator as exported (#1620) --- js/io.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/io.ts b/js/io.ts index 96f3561364..f7dbf33180 100644 --- a/js/io.ts +++ b/js/io.ts @@ -119,7 +119,7 @@ export async function copy(dst: Writer, src: Reader): Promise { /** Turns `r` into async iterator. * - * for await (const chunk of readerIterator(reader)) { + * for await (const chunk of toAsyncIterator(reader)) { * console.log(chunk) * } */