Classes
WritableStreamDefaultController
This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate.
Constructors
new WritableStreamDefaultController()
new WritableStreamDefaultController(): WritableStreamDefaultController
Returns
WritableStreamDefaultController
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
signal | readonly | AbortSignal | MDN Reference |
Methods
error()
error(e?): void
Parameters
| Parameter | Type |
|---|---|
e? | any |
Returns
void