Home
last modified time | relevance | path

Searched refs:setMaxListeners (Results 1 – 25 of 32) sorted by relevance

12

/third_party/node/test/parallel/
Dtest-eventtarget-memoryleakwarning.js5 setMaxListeners,
35 setMaxListeners(2, et);
52 setMaxListeners(2, mc.port1);
60 setMaxListeners(2);
75 setMaxListeners(2, ee);
83 setMaxListeners(2, et);
Dtest-event-emitter-check-listener-leaks.js41 e.setMaxListeners(1);
48 e.setMaxListeners(5);
57 e.setMaxListeners(1);
64 e.setMaxListeners(0);
95 e.setMaxListeners(1);
102 assert.strictEqual(e, e.setMaxListeners(1));
Dtest-event-emitter-max-listeners.js32 e.setMaxListeners(42);
38 () => e.setMaxListeners(obj),
63 assert.throws(() => EventEmitter.setMaxListeners(obj), {
69 () => EventEmitter.setMaxListeners(defaultMaxListeners, 'INVALID_EMITTER'),
Dtest-events-getmaxlisteners.js5 const { getMaxListeners, EventEmitter, defaultMaxListeners, setMaxListeners } = require('node:event…
10 setMaxListeners(101, ee);
17 setMaxListeners(101, et);
Dtest-event-emitter-get-max-listeners.js10 emitter.setMaxListeners(0);
13 emitter.setMaxListeners(3);
Dtest-event-emitter-set-max-listeners-side-effects.js31 e.setMaxListeners(5);
Dtest-event-emitter-max-listeners-warning-for-null.js10 e.setMaxListeners(1);
Dtest-event-emitter-max-listeners-warning-for-symbol.js12 e.setMaxListeners(1);
Dtest-event-emitter-max-listeners-warning.js17 e.setMaxListeners(1);
Dtest-http2-client-unescaped-path.js17 client.setMaxListeners(33);
Dtest-http2-multiplex.js24 client.setMaxListeners(100);
Dtest-event-emitter-add-listeners.js67 f.setMaxListeners(0);
Dtest-http2-create-client-session.js39 client.setMaxListeners(101);
Dtest-nodeeventtarget.js142 target.setMaxListeners(1);
/third_party/node/lib/
Devents.js312 EventEmitter.setMaxListeners = function in EventEmitter
327 } else if (typeof target.setMaxListeners === 'function') {
328 target.setMaxListeners(n);
410 EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) { method in EventEmitter
/third_party/node/doc/api/
Devents.md646 set by [`emitter.setMaxListeners(n)`][] or defaults to
1005 ### `emitter.setMaxListeners(n)`
1016 memory leaks. The `emitter.setMaxListeners()` method allows the limit to be
1154 using the [`emitter.setMaxListeners(n)`][] method. To change the default
1161 the change is made. However, calling [`emitter.setMaxListeners(n)`][] still has
1167 `EventEmitter`, the `emitter.getMaxListeners()` and `emitter.setMaxListeners()`
1173 emitter.setMaxListeners(emitter.getMaxListeners() + 1);
1176 emitter.setMaxListeners(Math.max(emitter.getMaxListeners() - 1, 0));
1183 emitter.setMaxListeners(emitter.getMaxListeners() + 1);
1186 emitter.setMaxListeners(Math.max(emitter.getMaxListeners() - 1, 0));
[all …]
/third_party/node/benchmark/events/
Dee-listeners.js13 ee.setMaxListeners(listeners * 2 + 1);
Dee-emit.js13 ee.setMaxListeners(listeners + 1);
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/
Dsignal-handling.js64 process.setMaxListeners(length + 1)
/third_party/node/test/pummel/
Dtest-fs-watch-system-limit.js33 gatherStderr.setMaxListeners(Infinity);
/third_party/node/deps/undici/src/lib/fetch/
Drequest.js33 const { getMaxListeners, setMaxListeners, getEventListeners, defaultMaxListeners } = require('event…
386 setMaxListeners(100, signal)
388 setMaxListeners(100, signal)
Dindex.js84 this.setMaxListeners(21)
/third_party/node/lib/internal/
Dworker.js462 source.setMaxListeners(Infinity);
463 dest.setMaxListeners(Infinity);
Devent_target.js851 setMaxListeners(n) { method in NodeEventTarget
854 EventEmitter.setMaxListeners(n, this);
985 setMaxListeners: kEnumerableProperty, property
/third_party/node/doc/changelogs/
DCHANGELOG_V010.md572 * events: do not accept NaN in setMaxListeners (Fedor Indutny)

12