Merge pull request #9400 from brianzelip/patch-1

📝 minor docs copy edit - add two words
This commit is contained in:
Kevin Sawicki 2017-05-08 08:57:50 -07:00 committed by GitHub
commit dd84fd4348

View file

@ -16,8 +16,8 @@ It is also possible to send messages from the main process to the renderer
process, see [webContents.send][web-contents-send] for more information. process, see [webContents.send][web-contents-send] for more information.
* When sending a message, the event name is the `channel`. * When sending a message, the event name is the `channel`.
* To reply a synchronous message, you need to set `event.returnValue`. * To reply to a synchronous message, you need to set `event.returnValue`.
* To send an asynchronous back to the sender, you can use * To send an asynchronous message back to the sender, you can use
`event.sender.send(...)`. `event.sender.send(...)`.
An example of sending and handling messages between the render and main An example of sending and handling messages between the render and main