Not documented.

Annotations
  • DocsEditable()
  • DomName('SharedWorker')
  • Experimental()
Extends
Implements

Constants

EventStreamProvider<Event> errorEvent = const EventStreamProvider<Event>('error')
const

Properties

Events on
read-only, inherited
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
Stream<Event> onError
read-only
MessagePort port
read-only
double workerStart
read-only

Constructors

SharedWorker(String scriptURL, [String name])

Methods

addEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited
dispatchEvent(Event event) → bool
inherited
removeEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited