From: Jessica Lord Date: Thu, 27 Aug 2015 00:52:45 +0000 (-0700) Subject: arg → message X-Git-Tag: v0.31.2~12^2~4 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=71f46c02877fd1d42b5e6de195572ab2727d2503;p=electron.git arg → message --- diff --git a/docs/api/ipc-main-process.md b/docs/api/ipc-main-process.md index b29d56f6..197b98e4 100644 --- a/docs/api/ipc-main-process.md +++ b/docs/api/ipc-main-process.md @@ -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.