class
AbstractWorker

(Not documented.)

Annotations
  • DocsEditable()
  • DomName('AbstractWorker')
Implements
Implemented by

Constants

EventStreamProvider<ErrorEvent> errorEvent = const EventStreamProvider<ErrorEvent>('error')
const
Static factory designed to expose error events to event handlers that are not necessarily instances of AbstractWorker.

Properties

Stream<ErrorEvent> onError
read-only
Stream of error events handled by this [AbstractWorker].
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.

Methods

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