Not documented.
- Annotations
- DocsEditable()
- DomName('SharedWorkerGlobalScope')
- Experimental()
- Extends
- Object
- EventTarget
- WorkerGlobalScope
- SharedWorkerGlobalScope
Constants
-
EventStreamProvider<Event>
connectEvent
=
const EventStreamProvider<Event>
('connect') -
constStatic factory designed to expose
connect
events to event handlers that are not necessarily instances of SharedWorkerGlobalScope.
Properties
- WorkerConsole console
-
read-only, inherited
- Crypto crypto
-
read-only, inherited
- IdbFactory indexedDB
-
read-only, inherited
- _WorkerLocation location
-
read-only, inherited
- String name
-
read-only
-
read-only, inherited
- Events on
-
read-only, inheritedThis is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
- Stream<Event> onConnect
-
read-onlyStream of
connect
events handled by thisSharedWorkerGlobalScope
. - Stream<Event> onError
-
read-only, inheritedStream of
error
events handled by thisWorkerGlobalScope
. - WorkerPerformance performance
-
read-only, inherited
- WorkerGlobalScope self
-
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
-
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