EventContext
EventContext<
Env,P,Data> =object
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:8470
Type Parameters
Section titled “Type Parameters”Env
P extends string
Data
Properties
Section titled “Properties”data:
Data
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:8482
env:
Env&object
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:8476
Type Declaration
Section titled “Type Declaration”ASSETS
Section titled “ASSETS”ASSETS:
object
ASSETS.fetch
Section titled “ASSETS.fetch”fetch: typeof
fetch
functionPath
Section titled “functionPath”functionPath:
string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:8472
next()
Section titled “next()”next: (
input?,init?) =>Promise<Response>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:8475
Parameters
Section titled “Parameters”input?
Section titled “input?”Request | string
Returns
Section titled “Returns”Promise<Response>
params
Section titled “params”params:
Params<P>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:8481
passThroughOnException()
Section titled “passThroughOnException()”passThroughOnException: () =>
void
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:8474
Returns
Section titled “Returns”void
request
Section titled “request”request:
Request<unknown,IncomingRequestCfProperties<unknown>>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:8471
waitUntil()
Section titled “waitUntil()”waitUntil: (
promise) =>void
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:8473
Parameters
Section titled “Parameters”promise
Section titled “promise”Promise<any>
Returns
Section titled “Returns”void