Home
last modified time | relevance | path

Searched refs:captureRejections (Results 1 – 10 of 10) sorted by relevance

/third_party/node/test/parallel/
Dtest-event-capture-rejections.js14 function captureRejections() { function
15 const ee = new EventEmitter({ captureRejections: true }); property
30 const ee = new EventEmitter({ captureRejections: true }); property
75 assert.strictEqual(EventEmitter.captureRejections, false);
76 EventEmitter.captureRejections = true;
87 EventEmitter.captureRejections = false;
97 const ee = new EventEmitter({ captureRejections: true }); property
117 assert.strictEqual(EventEmitter.captureRejections, false);
118 EventEmitter.captureRejections = true;
129 EventEmitter.captureRejections = false;
[all …]
Dtest-stream-catch-rejections.js9 captureRejections: true, property
30 captureRejections: true, property
Dtest-net-server-capture-rejection.js8 events.captureRejections = true;
Dtest-tls-server-capture-rejection.js14 events.captureRejections = true;
Dtest-http-outgoing-message-capture-rejection.js8 events.captureRejections = true;
Dtest-http-server-capture-rejections.js8 events.captureRejections = true;
Dtest-http2-capture-rejection.js11 events.captureRejections = true;
/third_party/node/lib/
Devents.js213 if (opts?.captureRejections) {
214 if (typeof opts.captureRejections !== 'boolean') {
216 'boolean', opts.captureRejections);
218 this[kCapture] = Boolean(opts.captureRejections);
/third_party/node/doc/api/
Devents.md176 > Stability: 1 - captureRejections is experimental.
188 The `captureRejections` option in the `EventEmitter` constructor or the global
195 const ee1 = new EventEmitter({ captureRejections: true });
202 const ee2 = new EventEmitter({ captureRejections: true });
210 Setting `events.captureRejections = true` will change the default for all
215 events.captureRejections = true;
224 The `'error'` events that are generated by the `captureRejections` behavior
236 description: Added captureRejections option.
250 * `captureRejections` {boolean} It enables
727 > Stability: 1 - captureRejections is experimental.
[all …]
/third_party/node/doc/changelogs/
DCHANGELOG_V12.md705 The experimental `captureRejections` option in the `EventEmitter` constructor or
712 const ee1 = new EventEmitter({ captureRejections: true });
719 const ee2 = new EventEmitter({ captureRejections: true });
727 Setting `EventEmitter.captureRejections = true` will change the default for all
731 EventEmitter.captureRejections = true;