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

x/proc/src/api2/proc-readable-stream.ts>toProcReadableStream

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
function toProcReadableStream
import { toProcReadableStream } from "https://deno.land/x/proc@0.20.11/src/api2/proc-readable-stream.ts";

Convert a ReadableStream into a ProcReadableStream as needed, avoiding redundant wrappers.

Parameters

Any ReadableStream.

Returns

A ProcReadableStream wrapper.