cloudkid.SubWorker Class
Internal class that pretends to be a Web Worker's context.
Constructor
cloudkid.SubWorker
(
-
codeString
-
parent
Parameters:
-
codeString
StringA string to evaluate into worker code.
-
parent
FallbackWorkerThe FallbackWorker that owns this SubWorker.
Methods
postMessage
(
-
data
See https://developer.mozilla.org/en-US/docs/Web/API/Worker.postMessage
Parameters:
-
data
The data to send.
Properties
_wParent
FallbackWorker
private
The FallbackWorker that is controlls by this SubWorker.