EventContext
EventContext<
Env
,P
,Data
> =object
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7550
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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7562
env:
Env
&object
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7556
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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7552
next()
Section titled “next()”next: (
input?
,init?
) =>Promise
<Response
>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7555
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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7561
passThroughOnException()
Section titled “passThroughOnException()”passThroughOnException: () =>
void
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7554
Returns
Section titled “Returns”void
request
Section titled “request”request:
Request
<unknown
,IncomingRequestCfProperties
<unknown
>>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7551
waitUntil()
Section titled “waitUntil()”waitUntil: (
promise
) =>void
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7553
Parameters
Section titled “Parameters”promise
Section titled “promise”Promise
<any
>
Returns
Section titled “Returns”void