Liking cljdoc? Tell your friends :D
ClojureScript only.

web.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.Worker, but also web.ServiceWorker web.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.Worker`, but also `web.ServiceWorker`
`web.SharedWorker`.
raw docstring

onerrorcljs

(onerror this)

Property.

The AbstractWorker.onerror property of the web.AbstractWorker represents an web.EventHandler, that is a function to be called the error event occurs and bubbles through the web.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.AbstractWorker`
represents an `web.EventHandler`, that is a function to be called
the error event occurs and bubbles through the `web.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.AbstractWorker represents an web.EventHandler, that is a function to be called the error event occurs and bubbles through the web.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.AbstractWorker`
represents an `web.EventHandler`, that is a function to be called
the error event occurs and bubbles through the `web.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