Returns the number of listeners listening for the event named eventName. If listener is provided, it will return how many times the listener is found in the list of the listeners of the event.
DecipherOCB.listenerCount method | Node.js crypto module | Bun BuildDocsReferenceGuidesBlogDiscord/node:crypto/DecipherOCB/listenerCountMlistenerCount BuildDocsReferenceGuidesBlogDiscord /node:crypto/DecipherOCB/listenerCountMlistenerCount crypto.DecipherOCB.listenerCountlistenerCountE extends keyof DuplexEventMap>(eventName: E,listener?: (...args: DuplexEventMap[E]) => void): number; @param eventName @param listener listenerCount(eventName: string | symbol,listener?: (...args: any[]) => void): number;
Search the reference...
/
method
The name of the event being listened for
The event handler function
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →DecipherOCB.listenerCount method | Node.js crypto module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method node:crypto.DecipherOCB.listenerCount | Bun