class
WorkerGlobalScope

(Not documented.)

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

Constants

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

Properties

WorkerConsole console
read-only
Crypto crypto
read-only
IdbFactory indexedDB
read-only
_WorkerLocation location
read-only
read-only
WorkerPerformance performance
read-only
WorkerGlobalScope self
read-only
Stream<Event> onError
read-only
Stream of error events handled by this [WorkerGlobalScope].
Events on
read-only , inherited
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

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