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

x/proc/legacy/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.21.5/legacy/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.