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

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

A better way to work with processes in Deno.
Go to Latest
function runner
import { runner } from "https://deno.land/x/proc@0.21.7/legacy/examples/deps.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.