SharedWorkerGlobalScope$Typings extension
Properties
-
addEventListener
→ ({void Function<
K$>(SharedWorkerGlobalScopeEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on SharedWorkerGlobalScope, provided by the SharedWorkerGlobalScope$Typings extension
Overload accessor: $1, $2no setter - close ↔ void Function()
-
Available on SharedWorkerGlobalScope, provided by the SharedWorkerGlobalScope$Typings extension
getter/setter pair - name → String
-
Available on SharedWorkerGlobalScope, provided by the SharedWorkerGlobalScope$Typings extension
Returns sharedWorkerGlobal's name, i.e. the value given to the SharedWorker constructor. Multiple SharedWorker objects can correspond to the same shared worker (and SharedWorkerGlobalScope), by reusing the same name.no setter - onconnect ↔ dynamic Function(MessageEvent)?
-
Available on SharedWorkerGlobalScope, provided by the SharedWorkerGlobalScope$Typings extension
MDN Referencegetter/setter pair -
removeEventListener
→ ({void Function<
K$>(SharedWorkerGlobalScopeEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on SharedWorkerGlobalScope, provided by the SharedWorkerGlobalScope$Typings extension
Overload accessor: $1, $2no setter