All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.web.workers.SharedWorker.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

package web.workers

import web.events.EventTarget
import web.messaging.MessagePort
import web.url.URL

external class SharedWorker(
    scriptURL: String,
    options: WorkerOptions /* | String */ = definedExternally,
) : EventTarget,
    AbstractWorker {
    constructor(
        scriptURL: URL,
        options: WorkerOptions /* | String */ = definedExternally,
    )

    /** Returns sharedWorker's MessagePort object which can be used to communicate with the global environment. */
    val port: MessagePort
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy