Home
last modified time | relevance | path

Searched refs:eventEmitter (Results 1 – 8 of 8) sorted by relevance

/third_party/node/lib/internal/worker/
Dio.js163 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/
DfunctionSignatureAssignmentCompat1.errors.txt2 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.
DfunctionSignatureAssignmentCompat1.symbols5 (eventEmitter: number, buffer: string): void;
6 >eventEmitter : Symbol(eventEmitter, Decl(functionSignatureAssignmentCompat1.ts, 1, 5))
DfunctionSignatureAssignmentCompat1.types3 (eventEmitter: number, buffer: string): void;
4 >eventEmitter : number
DfunctionSignatureAssignmentCompat1.js3 (eventEmitter: number, buffer: string): void;
/third_party/typescript/tests/cases/compiler/
DfunctionSignatureAssignmentCompat1.ts2 (eventEmitter: number, buffer: string): void;
/third_party/node/doc/api/
Devents.md20 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
Dasync_hooks.md932 execution context than the one that was active when `eventEmitter.on()` was