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

x/proc/runners/handlers/bytes-handlers.ts>BytesInputHandler

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

Source stdin from a Uint8Array. stdin is closed once the data is written.

Properties

readonly
failOnEmptyInput: boolean

Methods

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