Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/proc/legacy/deps.ts>copyN

A better way to work with processes in Deno.
Very Popular
Go to Latest
function copyN
import { copyN } from "https://deno.land/x/proc@0.20.32/legacy/deps.ts";

Copy N size at the most. If read size is lesser than N, then returns nread

Parameters

Reader

dest: Writer

Writer

size: number

Read size

Returns

Promise<number>