We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98db0a6 commit af53c7fCopy full SHA for af53c7f
lib/event.js
@@ -6,17 +6,19 @@ const MAX_LISTENERS = 200
6
7
const dispatcher = new events.EventEmitter()
8
9
-/**
10
- * @namespace
11
- * @alias event
12
- */
13
dispatcher.setMaxListeners(MAX_LISTENERS)
14
15
// Increase process max listeners to prevent warnings for beforeExit and other events
16
if (typeof process.setMaxListeners === 'function') {
17
process.setMaxListeners(MAX_LISTENERS)
18
}
19
+
+/**
+ * @namespace
+ * @alias event
20
+ */
21
22
module.exports = {
23
/**
24
* @type {NodeJS.EventEmitter}
0 commit comments