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.
Parameters
Section titled “Parameters”FetchEvent | ScheduledEvent | QueueEvent<unknown> | PromiseRejectionEvent
Returns
Section titled “Returns”boolean