docs: document the channel param for event.reply (#21185)

This commit is contained in:
Samuel Attard 2019-11-19 13:17:59 -08:00 committed by GitHub
parent 145dd33da1
commit ea23f18e94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,4 +4,5 @@
* `returnValue` any - Set this to the value to be returned in a synchronous message * `returnValue` any - Set this to the value to be returned in a synchronous message
* `sender` WebContents - Returns the `webContents` that sent the message * `sender` WebContents - Returns the `webContents` that sent the message
* `reply` Function - A function that will send an IPC message to the renderer frame that sent the original message that you are currently handling. You should use this method to "reply" to the sent message in order to guarantee the reply will go to the correct process and frame. * `reply` Function - A function that will send an IPC message to the renderer frame that sent the original message that you are currently handling. You should use this method to "reply" to the sent message in order to guarantee the reply will go to the correct process and frame.
* `channel` String
* `...args` any[] * `...args` any[]