method EventEmitter.getMaxListeners Usage in Denoimport { type EventEmitter } from "node:events"; EventEmitter.getMaxListeners(): number Returns the current max listener value for the EventEmitter which is either set by emitter.setMaxListeners(n) or defaults to defaultMaxListeners. Return Type number