SharedWorker$Typings extension

on

Properties

addEventListener → ({void Function<K$ extends Event>(AbstractWorkerEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
Overload accessor: $1, $2
no setter
port MessagePort
Returns sharedWorker's MessagePort object which can be used to communicate with the global environment.
no setter
removeEventListener → ({void Function<K$ extends Event>(AbstractWorkerEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
Overload accessor: $1, $2
no setter