Skip to main content
Skip to main content

WritableStream

admin/uploads.internal.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.

MDN Reference

Type parameters

WobjectRequired

Properties

lockedbooleanRequired

Methods

abort

abort(reason?): Promise<void>

MDN Reference

Parameters

reasonany

Returns

Promise<void>

PromisePromise<void>Required

close

close(): Promise<void>

MDN Reference

Returns

Promise<void>

PromisePromise<void>Required

getWriter

getWriter(): WritableStreamDefaultWriter<W>

MDN Reference

Returns

WritableStreamDefaultWriter<W>

WritableStreamDefaultWriterWritableStreamDefaultWriter<W>Required
Was this section helpful?