API Documentation for: 0.0.1
Show:

cloudkid.SubWorker Class

Defined in: cloudkid.SubWorker:7
Module: Worker

Internal class that pretends to be a Web Worker's context.

Constructor

cloudkid.SubWorker

(
  • codeString
  • parent
)

Parameters:

  • codeString String

    A string to evaluate into worker code.

  • parent FallbackWorker

    The FallbackWorker that owns this SubWorker.

Item Index

Methods

Properties

Methods

postMessage

(
  • data
)

Defined in postMessage:36

See https://developer.mozilla.org/en-US/docs/Web/API/Worker.postMessage

Parameters:

  • data

    The data to send.

Properties

_wParent

FallbackWorker private

Defined in _wParent:29

The FallbackWorker that is controlls by this SubWorker.

onmessage

Function

Defined in onmessage:23

See https://developer.mozilla.org/en-US/docs/Web/API/Worker.onmessage