Results 1 - 1 of 1

SharedWorkerGlobalScope.onconnect

The onconnect property of the SharedWorkerGlobalScope interface is an EventHandler representing the code to be called when the connect event is raised — that is, when a MessagePort connection is opened between the associated SharedWorker and the main thread.
API onconnect Property Reference Référence SharedWorkerGlobalScope Web Workers