message → arg, 80-col

This commit is contained in:
Jessica Lord 2015-08-27 10:13:25 -07:00
parent a1f17069ec
commit d02ced87b8
2 changed files with 24 additions and 12 deletions

View file

@ -64,9 +64,10 @@ Set this to the value to be returned in a synchronous message.
Returns the `WebContents` that sent the message.
### `Event.sender.send(channel[, message])`
### `Event.sender.send(channel[, arg1][, arg2][, ...])`
* `channel` String - The event name.
* `message` (optional)
* `arg` (optional)
This sends an asynchronous message back to the render process. The `message` can be any value.
This sends an asynchronous message back to the render process. Optionally, there
can be one or a series of arguments, `arg`, which can have any type.