import { toAsyncIterator } from "https://deno.land/x/deno@v0.28.0/cli/js/deno.ts";
Turns r
into async iterator.
for await (const chunk of toAsyncIterator(reader)) {
console.log(chunk)
}
import { toAsyncIterator } from "https://deno.land/x/deno@v0.28.0/cli/js/deno.ts";
Turns r
into async iterator.
for await (const chunk of toAsyncIterator(reader)) {
console.log(chunk)
}