Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function streams.readerFromStreamReader
import { streams } from "https://deno.land/x/pogo@v0.6.0/dependencies.ts";
const { readerFromStreamReader } = streams;

Create a Reader from a ReadableStreamDefaultReader.

Parameters

streamReader: ReadableStreamDefaultReader<Uint8Array>

Returns

Deno.Reader