This Streams API interface providesĀ a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing.

MDN Reference

Hierarchy (view full)

Constructors

Accessors

  • get bytesWritten(): number | bigint
  • Returns number | bigint

  • get digest(): Promise<ArrayBuffer>
  • Returns Promise<ArrayBuffer>

  • get locked(): boolean
  • Returns boolean

Methods

  • Parameters

    • Optionalreason: any

    Returns Promise<void>