DEV Community

KoichiArai
KoichiArai

Posted on

Day 11 of 100DaysOfCode

What I did

  • Learning IPC Communication Methods

I learned about IPC (Inter-Process Communication) methods today. However, I didn't fully understand how to use these methods. In addition to this, in the tutorial on IPC communication in Electron, I couldn't understand the code block below, especially the portion involving the object and arrow function.

contextBridge.exposeInMainWorld('electronAPI', {
  setTitle: (title) => ipcRenderer.send('set-title', title)
})
Enter fullscreen mode Exit fullscreen mode

I will solve these question tomorrow.

Top comments (0)