Skip to content

AbortController

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

The AbortController interface represents a controller object that allows you to abort one or more Web requests as and when desired.

MDN Reference

new AbortController(): AbortController

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

AbortController

readonly signal: AbortSignal

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

The signal read-only property of the AbortController interface returns an AbortSignal object instance, which can be used to communicate with/abort an asynchronous operation as desired.

MDN Reference

abort(reason?): void

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

The abort() method of the AbortController interface aborts an asynchronous operation before it has completed.

MDN Reference

any

void