]> khamidou — GitHub mirrors - electron.git/commitdiff
arg → message
authorJessica Lord <jlord@github.com>
Thu, 27 Aug 2015 00:52:45 +0000 (17:52 -0700)
committerJessica Lord <jlord@github.com>
Thu, 27 Aug 2015 00:52:45 +0000 (17:52 -0700)
docs/api/ipc-main-process.md

index b29d56f6ba37f6bdd60c472700215326b8a217f7..197b98e418be08deec2dc61bce578d4fe83bfdb5 100644 (file)
@@ -64,10 +64,9 @@ Set this to the value to be returned in a synchronous message.
 
 Returns the `WebContents` that sent the message.
 
-### `Event.sender.send(channel, arg)`
+### `Event.sender.send(channel[, message])`
 
 * `channel` String - The event name.
-* `arg`
+* `message` (optional)
 
-This sends an asynchronous message back to the render process. The message,
-`arg`, can be any value.
+This sends an asynchronous message back to the render process. The `message` can be any value.