SharedWorkerGlobalScope class

Annotations
  • DocsEditable()
  • DomName('SharedWorkerGlobalScope')
  • Experimental()
Extends

Constants

connectEvent = const EventStreamProvider<Event>('connect')
Static factory designed to expose connect events to event handlers that are not necessarily instances of SharedWorkerGlobalScope.

Instance Properties

name String
read-only
onConnect Stream<Event>
read-only
on Events Inherited
read-only
console WorkerConsole Inherited
read-only
crypto Crypto Inherited
read-only
indexedDB IdbFactory Inherited
read-only
location _WorkerLocation Inherited
read-only
read-only
performance WorkerPerformance Inherited
read-only
self WorkerGlobalScope Inherited
read-only
onError Stream<Event> Inherited
read-only

Instance 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
close() → void Inherited
importScripts(String urls) → void Inherited
webkitRequestFileSystem(int type, int size) → Future<FileSystem> Inherited
requestFileSystemSync(int type, int size) → _DOMFileSystemSync Inherited
resolveLocalFileSystemSyncUrl(String url) → _EntrySync Inherited
webkitResolveLocalFileSystemUrl(String url) → Future<Entry> Inherited
atob(String string) → String Inherited
btoa(String string) → String Inherited