Electron IPC Main


Handle


HandleOnce


On

const { ipcMain } = require("electron");

ipcMain.on("channel name", (event, content) => {
  console.log(event, content);
});


Once


RemoveHandler


RemoveListener


RemoveAllListeners


See also

Electron API for ipcMain


CategoryRicottone

Node/Electron/IpcMain (last edited 2023-02-24 21:14:08 by DominicRicottone)