Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Very Popular
Go to Latest
class StringAsyncIterableInputHandler
implements InputHandler<AsyncIterable<string>>
import { StringAsyncIterableInputHandler } from "https://deno.land/x/proc@0.20.41/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>