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

x/proc/examples/deps.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.19.12/examples/deps.ts";

Close the iterable.

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

It is safe to call close() multiple times.