Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/proc/mod.ts>PushIterable#close

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

Close the iterable.

Once closed, subsequent calls to write(...) will throw an error.

It is safe to call close() multiple times.