Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/denoexec/deps.ts>streams.readerFromStreamReader

A higher level wrapper around https://doc.deno.land/builtin/stable#Deno.run
Latest
function streams.readerFromStreamReader
import { streams } from "https://deno.land/x/denoexec@v1.1.5/deps.ts";
const { readerFromStreamReader } = streams;

Create a Reader from a ReadableStreamDefaultReader.

Parameters

streamReader: ReadableStreamDefaultReader<Uint8Array>

Returns

Deno.Reader