WorkerGlobalScope$Typings extension
Properties
-
addEventListener
→ ({void Function<K$>(WorkerGlobalScopeEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
-
Overload accessor: $1, $2
no setter
-
importScripts
↔ void Function([Iterable?])
-
getter/setter pair
-
location
→ WorkerLocation
-
Returns workerGlobal's WorkerLocation object.
no setter
-
navigator
→ WorkerNavigator
-
Returns workerGlobal's WorkerNavigator object.
no setter
-
onerror
↔ dynamic Function(ErrorEvent)?
-
MDN Reference
getter/setter pair
-
onlanguagechange
↔ dynamic Function(Event)?
-
MDN Reference
getter/setter pair
-
onoffline
↔ dynamic Function(Event)?
-
MDN Reference
getter/setter pair
-
ononline
↔ dynamic Function(Event)?
-
MDN Reference
getter/setter pair
-
onrejectionhandled
↔ dynamic Function(PromiseRejectionEvent)?
-
getter/setter pair
-
onunhandledrejection
↔ dynamic Function(PromiseRejectionEvent)?
-
getter/setter pair
-
removeEventListener
→ ({void Function<K$>(WorkerGlobalScopeEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
-
Overload accessor: $1, $2
no setter
-
self
→ _Intersection7
-
Returns workerGlobal.
no setter