Not documented.

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

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
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.
Stream<Event> onError
read-only
Stream of error events handled by this WorkerGlobalScope.
WorkerPerformance performance
read-only
WorkerGlobalScope self
read-only

Methods

addEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited
atob(String string) → String
btoa(String string) → String
close() → void
dispatchEvent(Event event) → bool
inherited
importScripts(String urls) → void
removeEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited
requestFileSystemSync(int type, int size) → _DOMFileSystemSync
resolveLocalFileSystemSyncUrl(String url) → _EntrySync
webkitRequestFileSystem(int type, int size) → Future<FileSystem>
webkitResolveLocalFileSystemUrl(String url) → Future<Entry>