emitter.getMaxListeners()


    返回 EventEmitter 的当前最大监听器数的值,该值由 emitter.setMaxListeners(n) 设置或默认为 events.defaultMaxListeners

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