port

Returns sharedWorker's MessagePort object which can be used to communicate with the global environment.

MDN Reference