Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/proc/runners/handlers/bytes-asynciterable-handlers.ts>BytesAsyncIterableInputHandler

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

Source stdin from an iterable of byte arrays.

Constructors

new
BytesAsyncIterableInputHandler()

Properties

readonly
failOnEmptyInput: boolean

Methods

processInput(input: AsyncIterable<Uint8Array>, stdin: MultiCloseWriter): Promise<void>