[Groonga-commit] groonga/express-kotoumi [master] Return sent message by emitMessage()

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Jan 10 18:23:08 JST 2013


YUKI Hiroshi	2013-01-10 18:23:08 +0900 (Thu, 10 Jan 2013)

  New Revision: b7dcda948d4ffcac3469c2f6a99ffeb59d768cdb
  https://github.com/groonga/express-kotoumi/commit/b7dcda948d4ffcac3469c2f6a99ffeb59d768cdb

  Log:
    Return sent message by emitMessage()

  Modified files:
    lib/backend-adaptor.js

  Modified: lib/backend-adaptor.js (+1 -0)
===================================================================
--- lib/backend-adaptor.js    2013-01-10 17:41:02 +0900 (e5a112d)
+++ lib/backend-adaptor.js    2013-01-10 18:23:08 +0900 (f81b01d)
@@ -96,6 +96,7 @@ Connection.prototype.emitMessage = function(body, callback) {
     this.once('replyTo:' + id, callback);
   }
   this._sender.emit('message', envelope);
+  return envelope;
 };
 
 exports.Connection = Connection;
-------------- next part --------------
HTML����������������������������...
다운로드 



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