Package-level declarations
Kotlin JavaScript wrappers for the Web Workers API.
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Exposes the JavaScript CacheStorage to Kotlin
Link copied to clipboard
Exposes the JavaScript Client to Kotlin
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open external class ExtendableEvent(type: String, eventInitDict: ExtendableEventInit = definedExternally) : Event
Exposes the JavaScript ExtendableEvent to Kotlin
Link copied to clipboard
Link copied to clipboard
open external class ExtendableMessageEvent(type: String, eventInitDict: ExtendableMessageEventInit = definedExternally) : ExtendableEvent
Exposes the JavaScript ExtendableMessageEvent to Kotlin
Link copied to clipboard
Link copied to clipboard
Exposes the JavaScript FetchEvent to Kotlin
Link copied to clipboard
Link copied to clipboard
open external class ForeignFetchEvent(type: String, eventInitDict: ForeignFetchEventInit) : ExtendableEvent
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open external class InstallEvent(type: String, eventInitDict: ExtendableEventInit = definedExternally) : ExtendableEvent
Exposes the JavaScript InstallEvent to Kotlin
Link copied to clipboard
Link copied to clipboard
abstract external class ServiceWorker : EventTarget, AbstractWorker, UnionMessagePortOrServiceWorker, UnionClientOrMessagePortOrServiceWorker
Exposes the JavaScript ServiceWorker to Kotlin
Link copied to clipboard
Exposes the JavaScript ServiceWorkerContainer to Kotlin
Link copied to clipboard
Exposes the JavaScript ServiceWorkerGlobalScope to Kotlin
Link copied to clipboard
open external class ServiceWorkerMessageEvent(type: String, eventInitDict: ServiceWorkerMessageEventInit = definedExternally) : Event
Exposes the JavaScript ServiceWorkerMessageEvent to Kotlin
Link copied to clipboard
Link copied to clipboard
Exposes the JavaScript ServiceWorkerRegistration to Kotlin
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Exposes the JavaScript WindowClient to Kotlin
Functions
Link copied to clipboard
inline fun CacheBatchOperation( type: String? = undefined, request: Request? = undefined, response: Response? = undefined, options: CacheQueryOptions? = undefined): CacheBatchOperation
Link copied to clipboard
inline fun CacheQueryOptions( ignoreSearch: Boolean? = false, ignoreMethod: Boolean? = false, ignoreVary: Boolean? = false, cacheName: String? = undefined): CacheQueryOptions
Link copied to clipboard
inline fun ClientQueryOptions(includeUncontrolled: Boolean? = false, type: ClientType? = ClientType.WINDOW): ClientQueryOptions
Link copied to clipboard
inline fun ExtendableEventInit( bubbles: Boolean? = false, cancelable: Boolean? = false, composed: Boolean? = false): ExtendableEventInit
Link copied to clipboard
inline fun ExtendableMessageEventInit( data: Any? = undefined, origin: String? = undefined, lastEventId: String? = undefined, source: UnionClientOrMessagePortOrServiceWorker? = undefined, ports: Array<MessagePort>? = undefined, bubbles: Boolean? = false, cancelable: Boolean? = false, composed: Boolean? = false): ExtendableMessageEventInit
Link copied to clipboard
inline fun FetchEventInit( request: Request?, clientId: String? = null, isReload: Boolean? = false, bubbles: Boolean? = false, cancelable: Boolean? = false, composed: Boolean? = false): FetchEventInit
Link copied to clipboard
inline fun ForeignFetchEventInit( request: Request?, origin: String? = "null", bubbles: Boolean? = false, cancelable: Boolean? = false, composed: Boolean? = false): ForeignFetchEventInit
Link copied to clipboard
inline fun ForeignFetchOptions(scopes: Array<String>?, origins: Array<String>?): ForeignFetchOptions
Link copied to clipboard
inline fun ForeignFetchResponse( response: Response?, origin: String? = undefined, headers: Array<String>? = undefined): ForeignFetchResponse
Link copied to clipboard
inline fun RegistrationOptions(scope: String? = undefined, type: WorkerType? = WorkerType.CLASSIC): RegistrationOptions
Link copied to clipboard
inline fun ServiceWorkerMessageEventInit( data: Any? = undefined, origin: String? = undefined, lastEventId: String? = undefined, source: UnionMessagePortOrServiceWorker? = undefined, ports: Array<MessagePort>? = undefined, bubbles: Boolean? = false, cancelable: Boolean? = false, composed: Boolean? = false): ServiceWorkerMessageEventInit
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard