Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/proc/legacy/runners/handlers/bytes-asynciterable-handlers.ts>BytesAsyncIterableOutputHandler

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
class BytesAsyncIterableOutputHandler
extends AbstractBytesOutputHandler<AsyncIterable<Uint8Array>>
import { BytesAsyncIterableOutputHandler } from "https://deno.land/x/proc@0.20.5/legacy/runners/handlers/bytes-asynciterable-handlers.ts";

Return stdout as an iterable over the lines.

Constructors

new
BytesAsyncIterableOutputHandler(processStderr: StderrProcessor, errorHandler: ErrorHandler)

Methods

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