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

x/proc/src/enumerable.ts>Enumerable#writeTo

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
method Enumerable.prototype.writeTo
import { Enumerable } from "https://deno.land/x/proc@0.20.23/src/enumerable.ts";

Write all data to the writer.

Note that this call returns immediately, although it continues to run until the source iterable data is exhausted.

Parameters

writer: Writable<T>

The writer.

Returns

Promise<void>