arg → message
This commit is contained in:
parent
a34a16653e
commit
71f46c0287
1 changed files with 3 additions and 4 deletions
|
@ -64,10 +64,9 @@ Set this to the value to be returned in a synchronous message.
|
||||||
|
|
||||||
Returns the `WebContents` that sent the message.
|
Returns the `WebContents` that sent the message.
|
||||||
|
|
||||||
### `Event.sender.send(channel, arg)`
|
### `Event.sender.send(channel[, message])`
|
||||||
|
|
||||||
* `channel` String - The event name.
|
* `channel` String - The event name.
|
||||||
* `arg`
|
* `message` (optional)
|
||||||
|
|
||||||
This sends an asynchronous message back to the render process. The message,
|
This sends an asynchronous message back to the render process. The `message` can be any value.
|
||||||
`arg`, can be any value.
|
|
||||||
|
|
Loading…
Reference in a new issue