WorkerGlobalScope class

Annotations
  • DocsEditable()
  • DomName('WorkerGlobalScope')
  • Experimental()
Extends
Implements
Implemented by

Constants

errorEvent = const EventStreamProvider<Event>('error')
Static factory designed to expose error events to event handlers that are not necessarily instances of WorkerGlobalScope.
PERSISTENT = 1
TEMPORARY = 0

Instance Properties

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

Instance Methods

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