Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/proc/legacy/runners/handlers/string-asynciterable-handlers.ts>StringAsyncIterableInputHandler

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

Source stdin from an iterable of lines.

Constructors

new
StringAsyncIterableInputHandler(autoflush: boolean)

Properties

readonly
failOnEmptyInput: boolean

Methods

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