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.