WorkerGlobalScope
abstract external class WorkerGlobalScope : EventTarget, WindowOrWorkerGlobalScope, GlobalPerformance(source)
Exposes the JavaScript WorkerGlobalScope to Kotlin
Since Kotlin
1.1Inheritors
Properties
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Functions
Link copied to clipboard
fun addEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
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>
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
fun removeEventListener(type: String, callback: EventListener?, options: dynamic = definedExternally)
Since Kotlin 1.1
Link copied to clipboard
abstract fun setInterval(handler: dynamic, timeout: Int = definedExternally, vararg arguments: Any?): Int
Since Kotlin 1.1
Link copied to clipboard
abstract fun setTimeout(handler: dynamic, timeout: Int = definedExternally, vararg arguments: Any?): Int
Since Kotlin 1.1