BuildDocsReferenceGuidesBlogDiscordnode:diagnostics_channelChannelhasSubscribersBuildDocsReferenceGuidesBlogDiscordnode:diagnostics_channelChannelhasSubscribersdiagnostics_channel.Channel.hasSubscribershasSubscribersReferenceDocsGuidesDiscordMerch StoreGitHubBlogRuntimePackage managerTest runnerBundlerPackage runnerBun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseWe're hiring →
Channel.hasSubscribers property | Node.js diagnostics_channel module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- 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-sensitive code.
```js
import diagnostics_channel from