Interface SharedWorker

Hierarchy

Properties

onerror: ((this, ev) => any)

Type declaration

Returns sharedWorker's MessagePort object which can be used to communicate with the global environment.

MDN Reference

Methods

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    MDN Reference

    Parameters

    Returns boolean