Home
last modified time | relevance | path

Searched refs:newListener (Results 1 – 7 of 7) sorted by relevance

/third_party/node/benchmark/events/
Dee-add-remove.js6 newListener: [0, 1], property
11 function main({ newListener, removeListener, n }) { property
18 if (newListener === 1)
/third_party/node/lib/internal/worker/
Dio.js299 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.js739 function newListener(event) { function
748 this.removeListener('newListener', newListener);
813 if (this.listenerCount('newListener', newListener) === 0) {
814 this.on('newListener', newListener);
Devents.js559 if (events.newListener !== undefined) {
/third_party/node/deps/npm/node_modules/events/
Devents.js178 if (events.newListener !== undefined) {
/third_party/node/doc/api/
Devents.md412 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/
DCHANGELOG_ARCHIVE.md1583 * events: newListener emit correct fn when using 'once' (Roly Fentanes)
4299 * Feature: EventEmitters emit "newListener" when listeners are