Module

x/proc/legacy/mod.ts>InputHandler

A better way to work with processes in Deno.
Latest
interface InputHandler
import { type InputHandler } from "https://dotland.deno.dev/x/proc@0.21.9/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.

import InputHandler
import { InputHandler } from "https://dotland.deno.dev/x/proc@0.21.9/legacy/mod.ts";