The read-only port property of the AudioWorkletProcessor interface returns the associated MessagePort.
port
MDN Reference