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