Module

x/proc/legacy/examples/deps.ts>OutputHandler

A better way to work with processes in Deno.
Go to Latest
interface OutputHandler
import { type OutputHandler } from "https://dotland.deno.dev/x/proc@0.21.9/legacy/examples/deps.ts";

The interface of an output handler.

Properties

processOutput: (
input: { stdin: MultiCloseWriter; handlerResult: Promise<null | Error>; },
) => B | Promise<B>

Handle the output (stdout, stderr, and exit status) of a process.

stdin is included so that it can be closed. It must not be read from the output handler.

import OutputHandler
import { OutputHandler } from "https://dotland.deno.dev/x/proc@0.21.9/legacy/examples/deps.ts";