WindowOrWorkerGlobalScope
Properties
caches
abstract val caches: CacheStorage
origin
abstract val origin: String
Functions
atob
abstract fun atob(data: String): String
btoa
abstract fun btoa(data: String): String
clearInterval
abstract fun clearInterval(handle: Int = definedExternally)
clearTimeout
abstract fun clearTimeout(handle: Int = definedExternally)
createImageBitmap
abstract fun createImageBitmap(
image: ImageBitmapSource,
options: ImageBitmapOptions = definedExternally
): Promise<ImageBitmap>
abstract fun createImageBitmap(
image: ImageBitmapSource,
sx: Int,
sy: Int,
sw: Int,
sh: Int,
options: ImageBitmapOptions = definedExternally
): Promise<ImageBitmap>
fetch
abstract fun fetch(
input: dynamic,
init: RequestInit = definedExternally
): Promise<Response>
setInterval
abstract fun setInterval(
handler: dynamic,
timeout: Int = definedExternally,
vararg arguments: Any?
): Int
setTimeout
abstract fun setTimeout(
handler: dynamic,
timeout: Int = definedExternally,
vararg arguments: Any?
): Int
Inheritors
WorkerGlobalScope
Exposes the JavaScript WorkerGlobalScope to Kotlin
abstract class WorkerGlobalScope :
EventTarget,
WindowOrWorkerGlobalScope,
GlobalPerformance