Not documented.
- Inheritance
- Object
- EventTarget
- WorkerGlobalScope
- Implements
- Implemented by
- Annotations
- DocsEditable()
- DomName('WorkerGlobalScope')
- Experimental()
Constants
-
EventStreamProvider<Event>
errorEvent
= const EventStreamProvider<Event>
('error') -
const
Static factory designed to expose
error
events to event handlers that are not necessarily instances of WorkerGlobalScope.… - int PERSISTENT = 1
-
const
- int TEMPORARY = 0
-
const
Properties
- console → WorkerConsole
-
read-only
- crypto → Crypto
-
read-only
- indexedDB → IdbFactory
-
read-only
- location → _WorkerLocation
-
read-only
-
read-only
- on → Events
-
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.
- onError → Stream<Event>
-
read-only
Stream of
error
events handled by thisWorkerGlobalScope
. - performance → WorkerPerformance
-
read-only
- self → WorkerGlobalScope
-
read-only
Methods
-
addEventListener(
String type, dynamic listener(Event event), [bool useCapture]) → void -
inherited
-
atob(
String string) → String -
btoa(
String string) → String -
close(
) → void -
dispatchEvent(
Event event) → bool -
inherited
-
importScripts(
String urls) → void -
removeEventListener(
String type, dynamic listener(Event event), [bool useCapture]) → void -
inherited
-
requestFileSystemSync(
int type, int size) → _DOMFileSystemSync -
resolveLocalFileSystemSyncUrl(
String url) → _EntrySync -
webkitRequestFileSystem(
int type, int size) → Future<FileSystem> -
webkitResolveLocalFileSystemUrl(
String url) → Future<Entry>