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

x/proc/runners/handlers/string-asynciterable-handlers.ts>StringAsyncIterableUnbufferedInputHandler

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

Source stdin from an iterable of lines, unbuffered.

Constructors

new
StringAsyncIterableUnbufferedInputHandler()

Properties

readonly
failOnEmptyInput: boolean

Methods

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