WritableStreamDefaultController
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2349
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.
Accessors
Section titled “Accessors”signal
Section titled “signal”Get Signature
Section titled “Get Signature”get signal():
AbortSignal
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2351
Returns
Section titled “Returns”Methods
Section titled “Methods”error()
Section titled “error()”error(
reason?
):void
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2353
Parameters
Section titled “Parameters”reason?
Section titled “reason?”any
Returns
Section titled “Returns”void