Liking cljdoc? Tell your friends :D
ClojureScript only.

web.workers.AbstractWorker

The AbstractWorker interface of the Web Workers API is an abstract that defines properties and methods that are common to all types worker, including not only the basic web.workers.Worker, but web.workers.ServiceWorker and web.workers.SharedWorker.

The AbstractWorker interface of the Web Workers API is an abstract
that defines properties and methods that are common to all types
worker, including not only the basic `web.workers.Worker`, but
`web.workers.ServiceWorker` and `web.workers.SharedWorker`.
raw docstring

onerrorcljs

(onerror this)

Property.

The AbstractWorker.onerror property of the web.workers.AbstractWorker represents an EventHandler, that is a function to be called the error event occurs and bubbles through the web.workers.Worker.

myWorker.onerror = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/AbstractWorker/onerror

Property.

The AbstractWorker.onerror property of the `web.workers.AbstractWorker`
represents an `EventHandler`, that is a function to be called
the error event occurs and bubbles through the `web.workers.Worker`.

`myWorker.onerror = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/AbstractWorker/onerror`
sourceraw docstring

set-onerror!cljs

(set-onerror! this val)

Property.

The AbstractWorker.onerror property of the web.workers.AbstractWorker represents an EventHandler, that is a function to be called the error event occurs and bubbles through the web.workers.Worker.

myWorker.onerror = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/AbstractWorker/onerror

Property.

The AbstractWorker.onerror property of the `web.workers.AbstractWorker`
represents an `EventHandler`, that is a function to be called
the error event occurs and bubbles through the `web.workers.Worker`.

`myWorker.onerror = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/AbstractWorker/onerror`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close