WritableStreamDefaultController

The WritableStreamDefaultController interface of the Streams API represents a controller allowing control of a WritableStream's state.

MDN Reference

Properties

Link copied to clipboard

The read-only signal property of the WritableStreamDefaultController interface returns the AbortSignal associated with the controller.

Functions

Link copied to clipboard
fun error(error: JsError = definedExternally)

The error() method of the with the associated stream to error.