From 1c891dca43483d9ac4d5ed2538a01806f46148d9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 15 Oct 2021 17:24:52 +0000 Subject: [PATCH] chore(gh-bot): :rocket: build types, api & library files --- docs/classes/SharedWorkerPolyfill.html | 30 +++++++++++++------------- docs/modules.html | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/classes/SharedWorkerPolyfill.html b/docs/classes/SharedWorkerPolyfill.html index 6cc115d..a703173 100644 --- a/docs/classes/SharedWorkerPolyfill.html +++ b/docs/classes/SharedWorkerPolyfill.html @@ -1,33 +1,33 @@
The actual worker that is used, depending on browser support it can be either a SharedWorker
or a normal Worker
.
Is an EventListener that is called whenever an ErrorEvent of type error event occurs.
-Is an EventListener that is called whenever an ErrorEvent of type error event occurs.
-An EventListener called when MessageEvent of type message is fired on the port—that is, when the port receives a message.
-An EventListener called when MessageEvent of type message is fired on the port—that is, when the port receives a message.
-An EventListener called when a MessageEvent of type MessageError is fired—that is, when it receives a message that cannot be deserialized.
-An EventListener called when a MessageEvent of type MessageError is fired—that is, when it receives a message that cannot be deserialized.
-Returns a MessagePort object used to communicate with and control the shared worker.
-Registers an event handler of a specific event type on the EventTarget
-Disconnects the port, so it is no longer active.
-Dispatches an event to this EventTarget.
-Clones message and transmits it to worker's global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned.
-Removes an event listener from the EventTarget.
-Starts the sending of messages queued on the port (only needed when using EventTarget.addEventListener; it is implied when using MessagePort.onmessage.)
-Immediately terminates the worker. This does not let worker finish its operations; it is halted at once. ServiceWorker instances do not support this method.
Generated using TypeDoc
indicates if SharedWorker is supported, in the global scope
Generated using TypeDoc
A polyfill class for
-SharedWorker
, it accepts a URL/string as well as any other options the spec. allows forSharedWorker
. It supports all the same methods and properties as the original, except it adds compatibility methods and properties for older browsers that don't supportSharedWorker
, so, it can switch to normalWorkers
instead.