mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc: fix description of hasSubscribers
PR-URL: https://github.com/nodejs/node/pull/37324 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
This commit is contained in:
committed by
Darshan Sen
parent
fa3997d75a
commit
f2c26153d7
@@ -62,7 +62,7 @@ Check if there are active subscribers to the named channel. This is helpful if
|
||||
the message you want to send might be expensive to prepare.
|
||||
|
||||
This API is optional but helpful when trying to publish messages from very
|
||||
performance-senstive code.
|
||||
performance-sensitive code.
|
||||
|
||||
```js
|
||||
const diagnostics_channel = require('diagnostics_channel');
|
||||
@@ -105,7 +105,7 @@ Check if there are active subscribers to this channel. This is helpful if
|
||||
the message you want to send might be expensive to prepare.
|
||||
|
||||
This API is optional but helpful when trying to publish messages from very
|
||||
performance-senstive code.
|
||||
performance-sensitive code.
|
||||
|
||||
```js
|
||||
const diagnostics_channel = require('diagnostics_channel');
|
||||
|
||||
Reference in New Issue
Block a user