Go to Latest
class StringAsyncIterableInputHandler
implements InputHandler<AsyncIterable<string>>
import { StringAsyncIterableInputHandler } from "https://dotland.deno.dev/x/proc@0.21.9/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>