-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No longer necessary? (superseded by official handle()
method?)
#47
Comments
https://github.com/sindresorhus/electron-better-ipc/issues/48 for proxy solution based on handle Update: it is https://github.com/linonetwo/electron-ipc-cat |
I think this package is still useful when you want to receive the result from renderer process |
But you can just call a main process API using proxy, so in main process you receive the result from renderer process like a regular method call. I think what is boring is receive main message in renderer, which requires |
Thanks a lot. This is always recommended to use more native things. |
Just an FYI that nowadays,
electron
has a built-in method to do what this package does:ipcMain::handle()
See https://www.electronjs.org/docs/latest/api/ipc-main#ipcmainhandlechannel-listener for details 🙂
The text was updated successfully, but these errors were encountered: