Browse Source

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

Samuel Attard 5 years ago
parent
commit
ea23f18e94
1 changed files with 1 additions and 0 deletions
  1. 1 0
      docs/api/structures/ipc-main-event.md

+ 1 - 0
docs/api/structures/ipc-main-event.md

@@ -4,4 +4,5 @@
 * `returnValue` any - Set this to the value to be returned in a synchronous 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.
+  * `channel` String
   * `...args` any[]