import { readStreamToFn } from "https://deno.land/x/dtils@2.3.1/mod.unstable.ts";
Read 1streaminto
fn, calling
fnfor every chunk. If
fn` returns a promise, it will be awaited
Parameters
stream: ReadableStream<T>
fn: (data: T) => unknown
x/dtils/mod.unstable.ts>readStreamToFn
import { readStreamToFn } from "https://deno.land/x/dtils@2.3.1/mod.unstable.ts";
Read 1streaminto
fn, calling
fnfor every chunk. If
fn` returns a promise, it will be awaited