Class PromiseReadable<TReadable>

Type Parameters

Hierarchy

Implements

Constructors

  • Type Parameters

    Parameters

    • stream: TReadable

    Returns PromiseReadable<TReadable>

Properties

_errored?: Error
_isPromiseReadable: boolean
errorHandler: any
stream: TReadable

Methods

  • Returns void

  • Parameters

    • event: "close" | "error" | "end"

    Returns Promise<void>

  • Parameters

    • event: "open"

    Returns Promise<number>

  • Parameters

    • Optional size: number

    Returns Promise<undefined | string | Buffer>

  • Returns Promise<undefined | string | Buffer>

  • Parameters

    • instance: any

    Returns boolean

Generated using TypeDoc