Searched refs:newListener (Results 1 – 7 of 7) sorted by relevance
/third_party/node/benchmark/events/ |
D | ee-add-remove.js | 6 newListener: [0, 1], property 11 function main({ newListener, removeListener, n }) { property 18 if (newListener === 1)
|
/third_party/node/lib/internal/worker/ |
D | io.js | 299 if (name === eventName) newListener(eventEmitter.listenerCount(name)); 306 if (type === eventName) newListener(size - 1); 315 function newListener(size) { function
|
/third_party/node/lib/ |
D | _tls_wrap.js | 739 function newListener(event) { function 748 this.removeListener('newListener', newListener); 813 if (this.listenerCount('newListener', newListener) === 0) { 814 this.on('newListener', newListener);
|
D | events.js | 559 if (events.newListener !== undefined) {
|
/third_party/node/deps/npm/node_modules/events/ |
D | events.js | 178 if (events.newListener !== undefined) {
|
/third_party/node/doc/api/ |
D | events.md | 412 All `EventEmitter`s emit the event `'newListener'` when new listeners are 421 ### Event: `'newListener'` 430 The `EventEmitter` instance will emit its own `'newListener'` event _before_ 433 Listeners registered for the `'newListener'` event are passed the event 438 `name` _within_ the `'newListener'` callback are inserted _before_ the 447 myEmitter.once('newListener', (event, listener) => { 470 myEmitter.once('newListener', (event, listener) => { 2031 The `'newListener'` and `'removeListener'` events will also not be emitted.
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_ARCHIVE.md | 1583 * events: newListener emit correct fn when using 'once' (Roly Fentanes) 4299 * Feature: EventEmitters emit "newListener" when listeners are
|