Create a transport backed by a chrome.runtime.Port.
chrome.runtime.Port
The returned transport posts object-mode RPC messages, subscribes through port.onMessage, cleans listeners on disconnect, and calls disconnect() when the transport closes.
port.onMessage
disconnect()
Create a transport backed by a
chrome.runtime.Port.The returned transport posts object-mode RPC messages, subscribes through
port.onMessage, cleans listeners on disconnect, and callsdisconnect()when the transport closes.