FetchEvent

open external class FetchEvent : ExtendableEvent (source)

Platform and version requirements: JS

Exposes the JavaScript FetchEvent to Kotlin

Constructors

<init>

FetchEvent(type: String, eventInitDict: FetchEventInit)

Exposes the JavaScript FetchEvent to Kotlin

Properties

clientId

open val clientId: String?

isReload

open val isReload: Boolean

request

open val request: Request

Functions

respondWith

fun respondWith(r: Promise<Response>)

Inherited Functions

waitUntil

fun waitUntil(f: Promise<Any?>)