Skip to content

DispatchNamespace

Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:10083

get(name, args?, options?): object

Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:10091

string

Name of the Worker script.

Arguments to Worker script.

DynamicDispatchOptions

Options for Dynamic Dispatch invocation.

object

A Fetcher object that allows you to send requests to the Worker script.

connect(address, options?): Socket

string | SocketAddress

SocketOptions

Socket

fetch(input, init?): Promise<Response>

RequestInfo<unknown, CfProperties<unknown>> | URL

RequestInit<CfProperties<unknown>>

Promise<Response>

If the Worker script does not exist in this dispatch namespace, an error will be thrown.