Skip to main content
method EventEmitter.getMaxListeners
EventEmitter.getMaxListeners(): number
Deprecated

Returns the current max listener value for the EventEmitter which is either set by emitter.setMaxListeners(n) or defaults to defaultMaxListeners.

Return Type

number
Back to top