interface WritableStream

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.

Type Parameters

optional
W = any

Properties

readonly
locked: boolean

Methods

abort(reason?: any): Promise<void>
variable WritableStream

type

{ prototype: WritableStream; new <W = any>(underlyingSink?: UnderlyingSink<W>, strategy?: QueuingStrategy<W>): WritableStream<W>; }