Deep dive into Electron’s main and renderer processes
Cameron Nokes
1.1K11

Thanks for a great article, and for the pointer to electron-remote. Electron-remote looks very promising, but does seem to have a fairly major limitation in that it only seems to support exchange of serializable data. In our case, we need to generate ArrayBuffers in the background and then pass them to the main render process. My initial conclusion is that the only way to do this is to use the file system (i.e., write the data as a temp file and read it in the main render process.) Do you see any alternative? Webworkers, of course, support the Transferability mechanism for this case.

Like what you read? Give Jim Sugg a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.