From 68c19fc5097885fb74b1d4e01a5fd74ce9b98eae Mon Sep 17 00:00:00 2001 From: Brian Zelip Date: Sun, 7 May 2017 11:06:46 -0400 Subject: [PATCH] :memo: minor docs copy edit - add two words [ci skip] --- docs/api/ipc-main.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/ipc-main.md b/docs/api/ipc-main.md index 57c57b5a4e5e..f6e24e9f63ce 100644 --- a/docs/api/ipc-main.md +++ b/docs/api/ipc-main.md @@ -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. * When sending a message, the event name is the `channel`. -* To reply a synchronous message, you need to set `event.returnValue`. -* To send an asynchronous back to the sender, you can use +* To reply to a synchronous message, you need to set `event.returnValue`. +* To send an asynchronous message back to the sender, you can use `event.sender.send(...)`. An example of sending and handling messages between the render and main