Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Very Popular
Go to Latest
class StderrToStdoutStringAsyncIterableOutputHandler
implements OutputHandler<AsyncIterable<string>>
import { StderrToStdoutStringAsyncIterableOutputHandler } from "https://deno.land/x/proc@0.20.37/legacy/runners/handlers/stderr-to-stdout-string-asynciterable-handlers.ts";

Redirect stderr into stdout. This handler is always unbuffered so that the lines come out as close to real-time as possible.

Constructors

new
StderrToStdoutStringAsyncIterableOutputHandler(errorHandler: ErrorHandler)

Methods

protected
handleStderr(stderr: MultiCloseReader): AsyncIterableIterator<string>
protected
process(
input: { stdin: MultiCloseWriter; handlerResult: Promise<null | Error>; },
): AsyncIterableIterator<string>
processOutput(
input: { stdin: MultiCloseWriter; handlerResult: Promise<null | Error>; },
): AsyncIterable<string>