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.
Type parameters
W
objectRequiredProperties
locked
booleanRequiredMethods
abort
abort(reason?
): Promise
<void
>
Parameters
reason
anyReturns
Promise
<void
>
Promise
Promise<void>Requiredclose
close(): Promise
<void
>
Returns
Promise
<void
>
Promise
Promise<void>RequiredgetWriter
getWriter(): WritableStreamDefaultWriter
<W
>
Returns
WritableStreamDefaultWriter
<W
>
Was this section helpful?