Sunday, 4 August 2019

Question about sending data from the main process to a renderer

I'm just getting started with Node and I'm not sure how to implement this.I have a BrowserWindow that's a loading screen. While it's showing, I would like to send messages to it from the main process. I tried with ipc but it seems like ipc communication is started by the renderer and answered by the main, kinda like ajax, instead of the open channel that I'm looking for.Is websockets the right tool to use? Or something else? Thanks

Submitted August 04, 2019 at 02:49PM by abandonplanetearth

No comments:

Post a Comment