Searched refs:captureRejections (Results 1 – 10 of 10) sorted by relevance
14 function captureRejections() { function15 const ee = new EventEmitter({ captureRejections: true }); property30 const ee = new EventEmitter({ captureRejections: true }); property75 assert.strictEqual(EventEmitter.captureRejections, false);76 EventEmitter.captureRejections = true;87 EventEmitter.captureRejections = false;97 const ee = new EventEmitter({ captureRejections: true }); property117 assert.strictEqual(EventEmitter.captureRejections, false);118 EventEmitter.captureRejections = true;129 EventEmitter.captureRejections = false;[all …]
9 captureRejections: true, property30 captureRejections: true, property
8 events.captureRejections = true;
14 events.captureRejections = true;
11 events.captureRejections = true;
213 if (opts?.captureRejections) {214 if (typeof opts.captureRejections !== 'boolean') {216 'boolean', opts.captureRejections);218 this[kCapture] = Boolean(opts.captureRejections);
176 > Stability: 1 - captureRejections is experimental.188 The `captureRejections` option in the `EventEmitter` constructor or the global195 const ee1 = new EventEmitter({ captureRejections: true });202 const ee2 = new EventEmitter({ captureRejections: true });210 Setting `events.captureRejections = true` will change the default for all215 events.captureRejections = true;224 The `'error'` events that are generated by the `captureRejections` behavior236 description: Added captureRejections option.250 * `captureRejections` {boolean} It enables727 > Stability: 1 - captureRejections is experimental.[all …]
705 The experimental `captureRejections` option in the `EventEmitter` constructor or712 const ee1 = new EventEmitter({ captureRejections: true });719 const ee2 = new EventEmitter({ captureRejections: true });727 Setting `EventEmitter.captureRejections = true` will change the default for all731 EventEmitter.captureRejections = true;