Package-level declarations
Types
The DedicatedWorkerGlobalScope
object (the Worker global scope) is accessible through the WorkerGlobalScope.self keyword.
The SharedWorker
interface represents a specific kind of worker that can be accessed from several browsing contexts, such as several windows, iframes or even workers.
The SharedWorkerGlobalScope
object (the SharedWorker global scope) is accessible through the window.self keyword.
The Worker
interface of the Web Workers API represents a background task that can be created via script, which can send messages back to its creator.
The WorkerGlobalScope
interface of the Web Workers API is an interface representing the scope of any worker.
The WorkerLocation
interface defines the absolute location of the script executed by the Worker.
The WorkerNavigator
interface represents a subset of the Navigator interface allowed to be accessed from a Worker.
Functions
The importScripts()
method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.