Skip to main content
Skip to main content

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 back pressure and queuing.

Type parameters

WobjectRequired

Properties

lockedbooleanRequired

Methods

abort

Parameters

reasonany

Returns

PromisePromise<void>Required

close

Returns

PromisePromise<void>Required

getWriter

Returns

WritableStreamDefaultWriterWritableStreamDefaultWriter<W>Required
Was this section helpful?