class
SharedWorker

(Not documented.)

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

Constants

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

Properties

MessagePort port
read-only
double workerStart
read-only
Stream<Event> onError
read-only
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.

Constructors

SharedWorker(String scriptURL, [String name])

Methods

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