Skip to content

dispatchEvent

dispatchEvent(event): boolean

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

The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.

MDN Reference

FetchEvent | ScheduledEvent | QueueEvent<unknown> | PromiseRejectionEvent

boolean