The AbstractWorker interface of the Web Workers API is an abstract
that defines properties and methods that are common to all types
worker, including not only the basic web.workers.Worker
, but
web.workers.ServiceWorker
and web.workers.SharedWorker
.
The AbstractWorker interface of the Web Workers API is an abstract that defines properties and methods that are common to all types worker, including not only the basic `web.workers.Worker`, but `web.workers.ServiceWorker` and `web.workers.SharedWorker`.
The Clients interface provides access to web.service-workers.Client
Access it via self
.clients within a service worker.
The Clients interface provides access to `web.service-workers.Client` Access it via `self`.clients within a service worker.
web.workers interfaces.
web.workers interfaces.
No vars found in this namespace.
The DedicatedWorkerGlobalScope object (the web.workers.Worker
scope) is accessible through the self
keyword. Some additional
functions, namespaces objects, and constructors, not typically
with the worker global scope, but available on it, are listed
the JavaScript Reference. See also: Functions available to workers.
The DedicatedWorkerGlobalScope object (the `web.workers.Worker` scope) is accessible through the `self` keyword. Some additional functions, namespaces objects, and constructors, not typically with the worker global scope, but available on it, are listed the JavaScript Reference. See also: Functions available to workers.
DedicatedWorkerGlobalScope Events.
DedicatedWorkerGlobalScope Events.
The ErrorEvent interface represents events providing information to errors in scripts or in files.
The ErrorEvent interface represents events providing information to errors in scripts or in files.
The ExtendableEvent interface extends the lifetime of the install activate events dispatched on the global scope as part of the worker lifecycle. This ensures that any functional events (like are not dispatched until it upgrades database schemas and deletes outdated cache entries.
The ExtendableEvent interface extends the lifetime of the install activate events dispatched on the global scope as part of the worker lifecycle. This ensures that any functional events (like are not dispatched until it upgrades database schemas and deletes outdated cache entries.
This is the event type for fetch events dispatched on the service
global scope. It contains information about the fetch, including
request and how the receiver will treat the response. It provides
event.respondWith()
method, which allows us to provide a response
this fetch.
This is the event type for fetch events dispatched on the service global scope. It contains information about the fetch, including request and how the receiver will treat the response. It provides `event.respondWith()` method, which allows us to provide a response this fetch.
The parameter passed into the oninstall
handler, the InstallEvent
represents an install action that is dispatched on the web.workers.ServiceWorkerGlobalScope
a web.workers.ServiceWorker
. As a child of web.workers.ExtendableEvent
,
ensures that functional events such as web.workers.FetchEvent
not dispatched during installation.
The parameter passed into the `oninstall` handler, the InstallEvent represents an install action that is dispatched on the `web.workers.ServiceWorkerGlobalScope` a `web.workers.ServiceWorker`. As a child of `web.workers.ExtendableEvent`, ensures that functional events such as `web.workers.FetchEvent` not dispatched during installation.
The MessageEvent interface represents a message received by a object.
The MessageEvent interface represents a message received by a object.
The NavigatorConcurrentHardware mixin adds to the web.performance.Navigator
features which allow Web content to determine how many logical
the user has available, in order to let content and Web apps
their operations to best take advantage of the user's CPU.
The NavigatorConcurrentHardware mixin adds to the `web.performance.Navigator` features which allow Web content to determine how many logical the user has available, in order to let content and Web apps their operations to best take advantage of the user's CPU.
The PushEvent interface of the Push API represents a push message
has been received. This event is sent to the global scope of
web.workers.ServiceWorker
. It contains the information sent
an application server to a web.service-workers.PushSubscription
.
The PushEvent interface of the Push API represents a push message has been received. This event is sent to the global scope of `web.workers.ServiceWorker`. It contains the information sent an application server to a `web.service-workers.PushSubscription`.
The ServiceWorker interface of the ServiceWorker API provides reference to a service worker. Multiple browsing contexts (e.g. workers, etc.) can be associated with the same service worker, through a unique ServiceWorker object.
The ServiceWorker interface of the ServiceWorker API provides reference to a service worker. Multiple browsing contexts (e.g. workers, etc.) can be associated with the same service worker, through a unique ServiceWorker object.
The ServiceWorkerContainer interface of the ServiceWorker API an object representing the service worker as an overall unit the network ecosystem, including facilities to register, unregister update service workers, and access the state of service workers their registrations.
The ServiceWorkerContainer interface of the ServiceWorker API an object representing the service worker as an overall unit the network ecosystem, including facilities to register, unregister update service workers, and access the state of service workers their registrations.
ServiceWorkerContainer Events.
ServiceWorkerContainer Events.
The ServiceWorkerGlobalScope interface of the ServiceWorker API the global execution context of a service worker.
The ServiceWorkerGlobalScope interface of the ServiceWorker API the global execution context of a service worker.
ServiceWorkerGlobalScope Events.
ServiceWorkerGlobalScope Events.
The ServiceWorkerRegistration interface of the ServiceWorker represents the service worker registration. You register a service to control one or more pages that share the same origin.
The ServiceWorkerRegistration interface of the ServiceWorker represents the service worker registration. You register a service to control one or more pages that share the same origin.
The SharedWorker interface represents a specific kind of worker
can be accessed from several browsing contexts, such as several
iframes or even workers. They implement an interface different
dedicated workers and have a different global scope, web.workers.SharedWorkerGlobalScope
.
The SharedWorker interface represents a specific kind of worker can be accessed from several browsing contexts, such as several iframes or even workers. They implement an interface different dedicated workers and have a different global scope, `web.workers.SharedWorkerGlobalScope`.
The SharedWorkerGlobalScope object (the web.workers.SharedWorker
scope) is accessible through the self
keyword. Some additional
functions, namespaces objects, and constructors, not typically
with the worker global scope, but available on it, are listed
the JavaScript Reference. See the complete list of functions
to workers.
The SharedWorkerGlobalScope object (the `web.workers.SharedWorker` scope) is accessible through the `self` keyword. Some additional functions, namespaces objects, and constructors, not typically with the worker global scope, but available on it, are listed the JavaScript Reference. See the complete list of functions to workers.
SharedWorkerGlobalScope Events.
SharedWorkerGlobalScope Events.
The SyncEvent interface represents a sync action that is dispatched
the web.workers.ServiceWorkerGlobalScope
of a ServiceWorker.
The SyncEvent interface represents a sync action that is dispatched the `web.workers.ServiceWorkerGlobalScope` of a ServiceWorker.
The Worker interface of the Web Workers API represents a background that can be easily created and can send messages back to its Creating a worker is as simple as calling the Worker() constructor specifying a script to be run in the worker thread.
The Worker interface of the Web Workers API represents a background that can be easily created and can send messages back to its Creating a worker is as simple as calling the Worker() constructor specifying a script to be run in the worker thread.
Worker Events.
Worker Events.
The WorkerGlobalScope interface of the Web Workers API is an
representing the scope of any worker. Workers have no browsing
this scope contains the information usually conveyed by web.Window
— in this case event handlers, the console or the associated
object. Each WorkerGlobalScope has its own event loop.
The WorkerGlobalScope interface of the Web Workers API is an representing the scope of any worker. Workers have no browsing this scope contains the information usually conveyed by `web.Window` — in this case event handlers, the console or the associated object. Each WorkerGlobalScope has its own event loop.
WorkerGlobalScope Events.
WorkerGlobalScope Events.
The WorkerLocation interface defines the absolute location of
script executed by the web.workers.Worker
. Such an object is
for each worker and is available via the WorkerGlobalScope.location
obtained by calling self.location.
The WorkerLocation interface defines the absolute location of script executed by the `web.workers.Worker`. Such an object is for each worker and is available via the `WorkerGlobalScope.location` obtained by calling self.location.
The WorkerNavigator interface represents a subset of the web.performance.Navigator
allowed to be accessed from a web.workers.Worker
. Such an object
initialized for each worker and is available via the WorkerGlobalScope.navigator
obtained by calling window.self.navigator.
The WorkerNavigator interface represents a subset of the `web.performance.Navigator` allowed to be accessed from a `web.workers.Worker`. Such an object initialized for each worker and is available via the `WorkerGlobalScope.navigator` obtained by calling window.self.navigator.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close