ServiceWorkerMain
Functions
Link copied to clipboard
Whether the service worker has been destroyed.
Link copied to clipboard
Send an asynchronous message to the service worker process via channel
, along with arguments. Arguments will be serialized with the Structured Clone Algorithm, just like postMessage
, so prototype chains will not be included. Sending Functions, Promises, Symbols, WeakMaps, or WeakSets will throw an exception.