Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function streams.readerFromStreamReader
import { streams } from "https://deno.land/x/postgres@ls/tests/test_deps.ts";
const { readerFromStreamReader } = streams;

Create a Reader from a ReadableStreamDefaultReader.

Parameters

streamReader: ReadableStreamDefaultReader<Uint8Array>

Returns

Deno.Reader