port

The port property of the SharedWorker interface returns a MessagePort object used to communicate and control the shared worker.

MDN Reference