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

x/proc/legacy/runners/utility.ts>pumpUnbuffered

A better way to work with processes in Deno.
Go to Latest
function pumpUnbuffered
import { pumpUnbuffered } from "https://deno.land/x/proc@0.20.33/legacy/runners/utility.ts";

Pump data from a reader to a writer, unbuffered.

Parameters

reader: Deno.Reader & Deno.Closer

The reader.

writer: Deno.Writer & Deno.Closer

The writer.

Returns

Promise<void>