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

x/proc/runners/push-iterable.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.9/runners/push-iterable.ts";

Close the iterable.

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

It is safe to call close() multiple times.