WritableStream
open class WritableStream<W : JsAny?>( underlyingSink: UnderlyingSink<W> = definedExternally, strategy: QueuingStrategy<W> = definedExternally) : Transferable(source)
The WritableStream
interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
Constructors
Link copied to clipboard
constructor(underlyingSink: UnderlyingSink<W> = definedExternally, strategy: QueuingStrategy<W> = definedExternally)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The close()
method of the WritableStream interface closes the associated stream.
Link copied to clipboard
The getWriter()
method of the WritableStream interface returns a new instance of WritableStreamDefaultWriter and locks the stream to that instance.