Lines Matching refs:emit
97 got(message, handle, emit) {
98 emit(handle);
109 got(message, handle, emit) {
112 emit(server);
184 got(message, handle, emit) {
201 emit(socket);
212 got(message, handle, emit) {
213 emit(handle);
226 got(message, handle, emit) {
230 emit(socket);
290 this.emit('error', err);
292 this.emit('exit', this.exitCode, this.signalCode);
297 // eof and emit a 'close' event.
391 // Run-time errors should emit an error, not throw an exception.
482 self.emit('spawn');
505 this.emit('error', errnoException(err, 'kill'));
553 this.emit('unref');
693 // Acknowledge handle receival. Don't emit error events (for example if
723 ReflectApply(target.emit, target, messages[i]);
751 process.nextTick(() => this.emit('error', ex));
876 process.nextTick(() => this.emit('error', ex));
898 this.emit('error', new ERR_IPC_DISCONNECTED());
928 target.emit('disconnect');
942 function emit(event, message, handle) {
944 target.emit(event, message, handle);
960 process.nextTick(emit, eventName, message, handle);
1098 subprocess.emit('close', subprocess.exitCode, subprocess.signalCode);