Results 41 - 60 of 164

Clients.get()

The get() method of the Clients interface gets a service worker client matching a given id and returns it in a Promise.
API Clients Experimental get Method Reference Service Workers

Clients.matchAll()

The matchAll() method of the Clients interface returns a Promise for a list of service worker clients. Include the options parameter to return all service worker clients whose origin is the same as the associated service worker's origin. If options are not included, the method returns only the service worker clients controlled by the service worker. 
API Clients Experimental Expérimental Method Reference Service Workers ServiceWorker

DedicatedWorkerGlobalScope.onmessage

The onmessage property of the DedicatedWorkerGlobalScope interface represents an EventHandler to be called when the message event occurs and bubbles through the Worker — i.e. when a message is sent to the worker using the Worker.postMessage method.
API DedicatedWorkerGlobalScope onmessage Property Reference Référence Web Workers