AbstractWorker

  • Revision slug: Web/API/AbstractWorker
  • Revision title: AbstractWorker
  • Revision id: 464931
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment

Revision Content

{{ DomRef() }}

The AbstractWorker interface abstracts properties and methods common to all kind of workers, being {{domxref("Worker")}} or {{domxref("SharedWorker")}}.

Properties

The AbstractWorker interface doesn't inherit any property.

{{domxref("AbstractWorker.onerror")}}
Is an {{ domxref("EventListener") }} that is called whenever an {{domxref("ErrorEvent")}} of type error bubbles through the worker.

Methods

The AbstractWorker interface doesn't implemet or inherit any method.

See also

 

Revision Source

<p>{{ DomRef() }}</p>
<p>The <strong><code>AbstractWorker</code></strong> interface abstracts properties and methods common to all kind of workers, being {{domxref("Worker")}} or {{domxref("SharedWorker")}}.</p>
<h2 id="Properties">Properties</h2>
<p><em>The <code>AbstractWorker</code></em><em> interface doesn't inherit any property.</em></p>
<dl>
  <dt>
    {{domxref("AbstractWorker.onerror")}}</dt>
  <dd>
    Is an {{ domxref("EventListener") }} that is called whenever an {{domxref("ErrorEvent")}} of type <code>error</code> bubbles through the worker.</dd>
</dl>
<h2 id="Methods">Methods</h2>
<p><em>The <code>AbstractWorker</code></em><em> interface doesn't implemet or inherit any method.</em></p>
<h2 id="See_also">See also</h2>
<p>&nbsp;</p>
Revert to this revision