Searched refs:eventEmitter (Results 1 – 8 of 8) sorted by relevance
/third_party/node/lib/internal/worker/ |
D | io.js | 163 function setupPortReferencing(port, eventEmitter, eventName) { argument 169 eventEmitter.on('newListener', function(name) { 170 if (name === eventName) newListener(eventEmitter.listenerCount(name)); 172 eventEmitter.on('removeListener', function(name) { 173 if (name === eventName) removeListener(eventEmitter.listenerCount(name)); 175 const origNewListener = eventEmitter[kNewListener]; 176 eventEmitter[kNewListener] = function(size, type, ...args) { function 180 const origRemoveListener = eventEmitter[kRemoveListener]; 181 eventEmitter[kRemoveListener] = function(size, type, ...args) {
|
/third_party/typescript/tests/baselines/reference/ |
D | functionSignatureAssignmentCompat1.errors.txt | 2 Types of parameters 'delimiter' and 'eventEmitter' are incompatible. 8 (eventEmitter: number, buffer: string): void; 19 !!! error TS2322: Types of parameters 'delimiter' and 'eventEmitter' are incompatible.
|
D | functionSignatureAssignmentCompat1.symbols | 5 (eventEmitter: number, buffer: string): void; 6 >eventEmitter : Symbol(eventEmitter, Decl(functionSignatureAssignmentCompat1.ts, 1, 5))
|
D | functionSignatureAssignmentCompat1.types | 3 (eventEmitter: number, buffer: string): void; 4 >eventEmitter : number
|
D | functionSignatureAssignmentCompat1.js | 3 (eventEmitter: number, buffer: string): void;
|
/third_party/typescript/tests/cases/compiler/ |
D | functionSignatureAssignmentCompat1.ts | 2 (eventEmitter: number, buffer: string): void;
|
/third_party/node/doc/api/ |
D | events.md | 20 objects expose an `eventEmitter.on()` function that allows one or more 30 listener. The `eventEmitter.on()` method is used to register listeners, while 31 the `eventEmitter.emit()` method is used to trigger the event. 47 The `eventEmitter.emit()` method allows an arbitrary set of arguments to be 99 When a listener is registered using the `eventEmitter.on()` method, that 114 Using the `eventEmitter.once()` method, it is possible to register a listener
|
D | async_hooks.md | 932 execution context than the one that was active when `eventEmitter.on()` was
|