Skip to main content
Module

x/proc/mod1.ts>runner

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

Define a reusable process runner.

Parameters

input: InputHandler<A>

Handler for the input to the process.

output: OutputHandler<B>

Handler for the output from the process.

Returns

(group?: Group) => Runner<A, B>

A process runner.