Package org. w3c. workers
Kotlin JavaScript wrappers for the Web Workers API.
Types
Cache Batch Operation
Link copied to clipboard
Cache Query Options
Link copied to clipboard
Cache Storage
Link copied to clipboard
Exposes the JavaScript CacheStorage to Kotlin
Client Query Options
Link copied to clipboard
Client Type
Link copied to clipboard
Extendable Event
Link copied to clipboard
open external class ExtendableEvent(type: String, eventInitDict: ExtendableEventInit) : Event
Content copied to clipboard
Exposes the JavaScript ExtendableEvent to Kotlin
Extendable Event Init
Link copied to clipboard
Extendable Message Event
Link copied to clipboard
open external class ExtendableMessageEvent(type: String, eventInitDict: ExtendableMessageEventInit) : ExtendableEvent
Content copied to clipboard
Exposes the JavaScript ExtendableMessageEvent to Kotlin
Extendable Message Event Init
Link copied to clipboard
Fetch Event
Link copied to clipboard
open external class FetchEvent(type: String, eventInitDict: FetchEventInit) : ExtendableEvent
Content copied to clipboard
Exposes the JavaScript FetchEvent to Kotlin
Fetch Event Init
Link copied to clipboard
Foreign Fetch Event
Link copied to clipboard
open external class ForeignFetchEvent(type: String, eventInitDict: ForeignFetchEventInit) : ExtendableEvent
Content copied to clipboard
Foreign Fetch Event Init
Link copied to clipboard
Foreign Fetch Options
Link copied to clipboard
Foreign Fetch Response
Link copied to clipboard
Functional Event
Link copied to clipboard
Install Event
Link copied to clipboard
open external class InstallEvent(type: String, eventInitDict: ExtendableEventInit) : ExtendableEvent
Content copied to clipboard
Exposes the JavaScript InstallEvent to Kotlin
Registration Options
Link copied to clipboard
Service Worker
Link copied to clipboard
abstract external class ServiceWorker : EventTarget, AbstractWorker, UnionMessagePortOrServiceWorker, UnionClientOrMessagePortOrServiceWorker
Content copied to clipboard
Exposes the JavaScript ServiceWorker to Kotlin
Service Worker Container
Link copied to clipboard
Exposes the JavaScript ServiceWorkerContainer to Kotlin
Service Worker Global Scope
Link copied to clipboard
Exposes the JavaScript ServiceWorkerGlobalScope to Kotlin
Service Worker Message Event
Link copied to clipboard
open external class ServiceWorkerMessageEvent(type: String, eventInitDict: ServiceWorkerMessageEventInit) : Event
Content copied to clipboard
Exposes the JavaScript ServiceWorkerMessageEvent to Kotlin
Service Worker Message Event Init
Link copied to clipboard
Service Worker Registration
Link copied to clipboard
Exposes the JavaScript ServiceWorkerRegistration to Kotlin
Service Worker State
Link copied to clipboard
Union Client Or Message Port Or Service Worker
Link copied to clipboard
Union Message Port Or Service Worker
Link copied to clipboard
Window Client
Link copied to clipboard
Exposes the JavaScript WindowClient to Kotlin
Functions
Cache Batch Operation
Link copied to clipboard
inline fun CacheBatchOperation(type: String? = undefined, request: Request? = undefined, response: Response? = undefined, options: CacheQueryOptions? = undefined): CacheBatchOperation
Content copied to clipboard
Cache Query Options
Link copied to clipboard
inline fun CacheQueryOptions(ignoreSearch: Boolean? = false, ignoreMethod: Boolean? = false, ignoreVary: Boolean? = false, cacheName: String? = undefined): CacheQueryOptions
Content copied to clipboard
Client Query Options
Link copied to clipboard
inline fun ClientQueryOptions(includeUncontrolled: Boolean? = false, type: ClientType? = ClientType.WINDOW): ClientQueryOptions
Content copied to clipboard
Extendable Event Init
Link copied to clipboard
inline fun ExtendableEventInit(bubbles: Boolean? = false, cancelable: Boolean? = false, composed: Boolean? = false): ExtendableEventInit
Content copied to clipboard
Extendable Message Event Init
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
Content copied to clipboard
Fetch Event Init
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
Content copied to clipboard
Foreign Fetch Event Init
Link copied to clipboard
inline fun ForeignFetchEventInit(request: Request?, origin: String? = "null", bubbles: Boolean? = false, cancelable: Boolean? = false, composed: Boolean? = false): ForeignFetchEventInit
Content copied to clipboard
Foreign Fetch Options
Link copied to clipboard
inline fun ForeignFetchOptions(scopes: Array<String>?, origins: Array<String>?): ForeignFetchOptions
Content copied to clipboard
Foreign Fetch Response
Link copied to clipboard
inline fun ForeignFetchResponse(response: Response?, origin: String? = undefined, headers: Array<String>? = undefined): ForeignFetchResponse
Content copied to clipboard
Registration Options
Link copied to clipboard
inline fun RegistrationOptions(scope: String? = undefined, type: WorkerType? = WorkerType.CLASSIC): RegistrationOptions
Content copied to clipboard
Service Worker Message Event Init
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
Content copied to clipboard
Properties
ACTIVATED
Link copied to clipboard
ACTIVATING
Link copied to clipboard
ALL
Link copied to clipboard
AUXILIARY
Link copied to clipboard
INSTALLED
Link copied to clipboard
INSTALLING
Link copied to clipboard
NESTED
Link copied to clipboard
NONE
Link copied to clipboard
REDUNDANT
Link copied to clipboard
SHAREDWORKER
Link copied to clipboard
TOP_LEVEL
Link copied to clipboard
WINDOW
Link copied to clipboard
WORKER
Link copied to clipboard