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

x/proc/mod3.ts>Enumerable#writeBytesTo

A better way to work with processes in Deno.
Go to Latest
method Enumerable.prototype.writeBytesTo
Re-export
import { Enumerable } from "https://deno.land/x/proc@0.21.8/mod3.ts";

Dump output to a writer and close it.

This is a low-level asynchronous write of bytes without locking.

Parameters

writer: Deno.Writer & Deno.Closer

The target writer.