API Documentation for: 0.0.1
Show:

cloudkid.FallbackWorker Class

Module: Worker

An internal class that duplicates the Worker API as a fallback when WebWorkers are not supported.

Constructor

cloudkid.FallbackWorker

(
  • codeString
)

Parameters:

  • codeString String

    A string to evaluate into worker code.

Item Index

Properties

Methods

postMessage

(
  • data
)

Defined in postMessage:24

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

Parameters:

  • data

    The data to send.

terminate

()

Defined in terminate:35

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

Properties

_wChild

SubWorker private

Defined in _wChild:54

The SubWorker that is controlled by this FallbackWorker.

onmessage

Function

Defined in onmessage:48

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