dispatchEvent
dispatchEvent(
event):boolean
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/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