Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
docs: possible change in tutorial/ipc (electron#33218)
Browse files Browse the repository at this point in the history
The `counter` channel should be `update-counter` channel
  • Loading branch information
Lalit3716 authored and khalwa committed Feb 22, 2023
1 parent 53aab6a commit 58f4856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/ipc.md
Expand Up @@ -413,7 +413,7 @@ function createWindow () {
```
For the purposes of the tutorial, it's important to note that the `click` handler
sends a message (either `1` or `-1`) to the renderer process through the `counter` channel.
sends a message (either `1` or `-1`) to the renderer process through the `update-counter` channel.
```javascript
click: () => mainWindow.webContents.send('update-counter', -1)
Expand Down

0 comments on commit 58f4856

Please sign in to comment.