WorkerGlobalScope

This Web Workers API interface is an interface representing the scope of any worker. Workers have no browsing context; this scope contains the information usually conveyed by Window objects — in this case event handlers, the console or the associated WorkerNavigator object. Each WorkerGlobalScope has its own event loop.

MDN Reference

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard

Returns workerGlobal's WorkerLocation object.

Link copied to clipboard

Returns workerGlobal's WorkerNavigator object.

Functions

Link copied to clipboard
Link copied to clipboard
open operator fun get(key: String): Any?
Link copied to clipboard
open operator fun set(key: String, value: Any?)