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

std/streams/copy.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.212.0/streams/copy.ts";

Functions

f
copy
deprecated

Copies from src to dst until either EOF (null) is read from src or an error occurs. It resolves to the number of bytes copied or rejects with the first error encountered while copying.