Class PromiseWritable<TWritable>

Type Parameters

Hierarchy

  • PromiseWritable

Constructors

  • Type Parameters

    Parameters

    • stream: TWritable

    Returns PromiseWritable<TWritable>

Properties

_errored?: Error
_isPromiseWritable: boolean
errorHandler: any
stream: TWritable

Methods

  • Returns void

  • Returns Promise<void>

  • Parameters

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

    Returns Promise<void>

  • Parameters

    • event: "open"

    Returns Promise<number>

  • Parameters

    • event: "pipe" | "unpipe"

    Returns Promise<ReadableStream>

  • Parameters

    Returns Promise<number>

  • Parameters

    • content: string | Buffer
    • Optional chunkSize: number

    Returns Promise<number>

Generated using TypeDoc