WritableStream
The WritableStream
interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
Constructors
Properties
Functions
The abort()
method of the WritableStream interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
The abort()
method of the WritableStream interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
The close()
method of the WritableStream interface closes the associated stream.
The getWriter()
method of the WritableStream interface returns a new instance of WritableStreamDefaultWriter and locks the stream to that instance.