Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.
Very Popular
Go to Latest
class BytesAsyncIterableOutputHandler
extends AbstractBytesOutputHandler<AsyncIterable<Uint8Array>>
import { BytesAsyncIterableOutputHandler } from "https://deno.land/x/proc@0.20.18/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>