Alias for emitter.on(eventName, listener).
Interface.addListener method | Node.js readline module | Bun BuildDocsReferenceGuidesBlogDiscord/node:readline/Interface/addListenerMaddListener BuildDocsReferenceGuidesBlogDiscord /node:readline/Interface/addListenerMaddListener readline.Interface.addListeneraddListenerE extends keyof InterfaceEventMap>(eventName: E,listener: (...args: InterfaceEventMap[E]) => void): this; addListener(eventName: string | symbol,listener: (...args: any[]) => void): this;
Search the reference...
/
method
Alias for emitter.on(eventName, listener).
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →Interface.addListener method | Node.js readline module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method node:readline.Interface.addListener | Bun