mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
docs/typo: readerIterator -> toAsyncIterator as exported (#1620)
This commit is contained in:
parent
dc09c3a65d
commit
457e65bc2f
1 changed files with 1 additions and 1 deletions
2
js/io.ts
2
js/io.ts
|
@ -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)
|
||||
* }
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue