Skip to content

WritableStreamDefaultController

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2783

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

MDN Reference

get signal(): AbortSignal

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2789

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

MDN Reference

AbortSignal

error(reason?): void

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2795

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

MDN Reference

any

void