DedicatedWorkerGlobalScope class

Annotated by:
  • DocsEditable()
  • DomName('DedicatedWorkerGlobalScope')
  • Experimental()
Extends:

Constants

messageEvent = const EventStreamProvider<MessageEvent>('message')
Static factory designed to expose message events to event handlers that are not necessarily instances of DedicatedWorkerGlobalScope.

Instance Properties

onMessage Stream<MessageEvent>
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

postMessage ( Object message, [List<MessagePort> transfer] ) → void
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