type alias StderrHandler

Optionally handle lines of stderr (passed as text lines), and also optionally return a value that is passed to your custom ErrorHandler. You are not allowed to throw an error from this function. If you wish to throw an error based on stderr data, the ErrorHandler function is where you do that.

Type Parameters

Definition

(it: Enumerable<Uint8Array>) => Promise<S>

Usage

import { type StderrHandler } from ".";