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.
Utf8Stream.listenerCount method | Node.js fs module | Bun BuildDocsReferenceGuidesBlogDiscord/node:fs/Utf8Stream/listenerCountMlistenerCount BuildDocsReferenceGuidesBlogDiscord /node:fs/Utf8Stream/listenerCountMlistenerCount fs.Utf8Stream.listenerCountlistenerCountE extends keyof Utf8StreamEventMap>(eventName: E,listener?: (...args: Utf8StreamEventMap[E]) => void): number; @param eventName @param listener listenerCount(eventName: string | symbol,listener?: (...args: any[]) => void): number; @param eventName @param listener
Search the reference...
/
method
The name of the event being listened for
The event handler function
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.
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 →Utf8Stream.listenerCount method | Node.js fs module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method node:fs.Utf8Stream.listenerCount | Bun