1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00

docs/typo: readerIterator -> toAsyncIterator as exported (#1620)

This commit is contained in:
bdistin 2019-01-29 12:24:40 -06:00 committed by Ryan Dahl
parent dc09c3a65d
commit 457e65bc2f

View file

@ -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)
* }
*/