sindresorhus / electron-better-ipc

Simplified IPC communication for Electron apps
MIT License
715 stars 60 forks source link

Support ipcRenderer to ipcRenderer communication #28

Open 82318179 opened 4 years ago

82318179 commented 4 years ago

Communication between the rendering process and the rendering process, how to do use this moudle ,Is there an example?

sindresorhus commented 4 years ago

That's currently not supported. You can implement it yourself though by having a router in the main process that receives events from one renderer process and proxies it to another one.

stevenroussey-privicy commented 4 years ago

Can use ipcRenderer.sendTo if you know the webContentId in advance.