Skip to main content
Module

x/proc/mod.ts>InputHandler

A better way to work with processes in Deno.
Go to Latest
interface InputHandler
Re-export
import { type InputHandler } from "https://deno.land/x/proc@0.20.32/mod.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.