Class PromiseDuplex<TDuplex>

Type Parameters

Hierarchy

Implements

Constructors

Properties

_errored?: Error
_isPromiseReadable: boolean
isPromiseReadable: boolean
isPromiseWritable: boolean
readable: PromiseReadable<TDuplex>
stream: TDuplex
writable: PromiseWritable<TDuplex>

Methods

  • Returns void

  • Returns Promise<void>

  • Parameters

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

    Returns Promise<void>

  • Parameters

    • event: "open"

    Returns Promise<number>

  • Parameters

    • event: "pipe" | "unpipe"

    Returns Promise<ReadableStream>

  • Parameters

    • Optional size: number

    Returns Promise<undefined | string | Buffer>

  • Returns Promise<undefined | string | Buffer>

  • Parameters

    Returns Promise<number>

  • Parameters

    • content: string | Buffer
    • Optional chunkSize: number

    Returns Promise<number>

  • Parameters

    • instance: any

    Returns boolean

Generated using TypeDoc