SharedWorkerGlobalScope class

Annotated by:
  • 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 Inherited ( String type, dynamic listener(Event event), [bool useCapture] ) → void
removeEventListener Inherited ( String type, dynamic listener(Event event), [bool useCapture] ) → void
dispatchEvent Inherited ( Event event ) → bool
close Inherited ( ) → void
importScripts Inherited ( String urls ) → void
webkitRequestFileSystem Inherited ( int type, int size ) → Future<FileSystem>
requestFileSystemSync Inherited ( int type, int size ) → _DOMFileSystemSync
resolveLocalFileSystemSyncUrl Inherited ( String url ) → _EntrySync
webkitResolveLocalFileSystemUrl Inherited ( String url ) → Future<Entry>
atob Inherited ( String string ) → String
btoa Inherited ( String string ) → String