Skip to main content
Module

x/proc/mod1.ts>InputHandler

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
interface InputHandler
Re-export
import { type InputHandler } from "https://deno.land/x/proc@0.20.23/mod1.ts";

The interface of an input handler.

Properties

processInput: (input: A, stdin: MultiCloseWriter) => Promise<void>

Called by the runner to process the input data.

Methods

getter
failOnEmptyInput(): boolean

A hack to detect when empty input is actually an error at runtime, since I can't get Typescript to figure it out at compile time.