Browse Source

docs: the ipc main listener being removed can have args (#20807)

trop[bot] 5 years ago
parent
commit
e286b78df7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      docs/api/ipc-main.md

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

@@ -77,6 +77,7 @@ only the next time a message is sent to `channel`, after which it is removed.
 
 * `channel` String
 * `listener` Function
+  * `...args` any[]
 
 Removes the specified `listener` from the listener array for the specified
 `channel`.