JavaScripture
Contribute via GitHub Feedback

WritableStream : Object

Represents a writable stream of data.

Constructors

new WritableStream([sink : WritableStreamSink, [strategy : QueuingStrategy]]) : WritableStream

Creates a new WritableStream.

Example:

Run

Results:

 

Instance Properties

locked : Boolean  

Instance Methods

abort([reason : Object]) : Promise<undefined>
close() : Promise<undefined>