SongGuess
Preparing search index...
server/worker-configuration
EventContext
Type Alias EventContext<Env, P, Data>
type
EventContext
<
Env
,
P
extends
string
,
Data
>
=
{
data
:
Data
;
env
:
Env
&
{
ASSETS
:
{
fetch
:
typeof
fetch
}
}
;
functionPath
:
string
;
next
:
(
input
?:
Request
|
string
,
init
?:
RequestInit
)
=>
Promise
<
Response
>
;
params
:
Params
<
P
>
;
passThroughOnException
:
()
=>
void
;
request
:
Request
<
unknown
,
IncomingRequestCfProperties
<
unknown
>
>
;
waitUntil
:
(
promise
:
Promise
<
any
>
)
=>
void
;
}
Type Parameters
Env
P
extends
string
Data
Index
Properties
data
env
function
Path
next
params
pass
Through
On
Exception
request
wait
Until
Properties
data
data
:
Data
env
env
:
Env
&
{
ASSETS
:
{
fetch
:
typeof
fetch
}
}
function
Path
functionPath
:
string
next
next
:
(
input
?:
Request
|
string
,
init
?:
RequestInit
)
=>
Promise
<
Response
>
params
params
:
Params
<
P
>
pass
Through
On
Exception
passThroughOnException
:
()
=>
void
request
request
:
Request
<
unknown
,
IncomingRequestCfProperties
<
unknown
>
>
wait
Until
waitUntil
:
(
promise
:
Promise
<
any
>
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
data
env
function
Path
next
params
pass
Through
On
Exception
request
wait
Until
SongGuess
Loading...