Inter-Process Communication
This page describes step by step how to setup IPC between main and renderer processes
Preload Scripts
Preload Scripts contain code that is executed in the renderer process. These scripts run in renderer context but have more privileges by having access to Node.js APIs, allowing them to have access to the OS functions.
Lets start by adding a Preload Script to our application
Using Inter-Process Communication
Renderer to Main (One-Way)
Renderer to Main (Two-Way)
Main to Renderer (One-Way)
Last updated