Intended to be used in service worker background process.
Manages connections with different parts of the extension.
Connections are managed through ports.
All other parts of extension are expected use NonBackgroundMessenger.
You won't be able to add any additional 'runtime.onConnect' listeners in background process once this is called.
Intended to be used in service worker background process. Manages connections with different parts of the extension. Connections are managed through ports. All other parts of extension are expected use NonBackgroundMessenger. You won't be able to add any additional 'runtime.onConnect' listeners in background process once this is called.