[Groonga-commit] groonga/express-droonga at c66f759 [master] Accept event emitted callback

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Jul 20 19:09:18 JST 2013


Kouhei Sutou	2013-07-20 19:09:18 +0900 (Sat, 20 Jul 2013)

  New Revision: c66f7596bb7bbafa4dfef8e3678d76264858ed8c
  https://github.com/groonga/express-droonga/commit/c66f7596bb7bbafa4dfef8e3678d76264858ed8c

  Message:
    Accept event emitted callback
    
    It will be used in tests to remove .wait().

  Modified files:
    lib/backend/connection.js

  Modified: lib/backend/connection.js (+1 -1)
===================================================================
--- lib/backend/connection.js    2013-07-20 18:39:07 +0900 (36fd62c)
+++ lib/backend/connection.js    2013-07-20 19:09:18 +0900 (0cf0d63)
@@ -136,7 +136,7 @@ Connection.prototype.emitMessage = function(type, body, callback, options) {
       }
     }).bind(this), options.timeout);
   }
-  this._sender.emit('message', envelope);
+  this._sender.emit('message', envelope, options.emittedCallback);
   return envelope;
 };
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index