We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d07e4d commit abbbcd1Copy full SHA for abbbcd1
doc/api/diagnostics_channel.md
@@ -267,10 +267,11 @@ added:
267
changes:
268
- version: REPLACEME
269
pr-url: https://github.com/nodejs/node/pull/40433
270
- description: Added to channels without subscribers.
+ description: Added return value. Added to channels without subscribers.
271
-->
272
273
* `onMessage` {Function} The previous subscribed handler to remove
274
+* Returns: {boolean} `true` if the handler was found, `false` otherwise.
275
276
Remove a message handler previously registered to this channel with
277
[`channel.subscribe(onMessage)`][].
0 commit comments