cloudkid.FallbackWorker Class
An internal class that duplicates the Worker API as a fallback when WebWorkers are not supported.
Constructor
cloudkid.FallbackWorker
(
-
codeString
Parameters:
-
codeString
StringA string to evaluate into worker code.
Methods
postMessage
(
-
data
See https://developer.mozilla.org/en-US/docs/Web/API/Worker.postMessage
Parameters:
-
data
The data to send.
terminate
()
See https://developer.mozilla.org/en-US/docs/Web/API/Worker.terminate
Properties
_wChild
SubWorker
private
The SubWorker that is controlled by this FallbackWorker.