Interface StdioInputStream

Implemented by entities from which data can be read.

Hierarchy

Properties

Methods

Properties

isTTY: boolean
type: StdioType

Methods

  • Reads data into the given buffer. Resolves to the number of read bytes or null for EOF.

    Parameters

    • buf: Uint8Array

      Buffer to read data into.

    Returns Promise<number>

  • Parameters

    • enable: boolean

    Returns void

Generated using TypeDoc