WritableStreamDefaultController
Defined in: node_modules/.pnpm/@types+node@24.6.2/node_modules/@types/node/stream/web.d.ts:334
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.
Methods
Section titled “Methods”error()
Section titled “error()”error(e?): void;
Defined in: node_modules/.pnpm/@types+node@24.6.2/node_modules/@types/node/stream/web.d.ts:335
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
e? | any |
Returns
Section titled “Returns”void