Skip to content
Browse files

Updated readme.md

  • Loading branch information...
1 parent 203e609 commit a6bd9e0059a792fedb317e24f71f1c96f40ea1fd @jdarling committed Jul 13, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 readme.md
View
7 readme.md
@@ -50,6 +50,13 @@ passive
callback(err, messageContents, next)
* Use next() to look for another message in the queue, don't call next() if you only want a one time listener
+MongoMQ.onAny(callback);
+------------------------
+NOTE: Passive by default and only reacts to events after handler is registered
+
+callback(err, messageContents, next)
+ * Use next() to look for another message in the queue, don't call next() if you only want a one time listener
+
MongoMQ.emit(msgType, messageContents);
---------------------------------------
msgType

0 comments on commit a6bd9e0

Please sign in to comment.
Something went wrong with that request. Please try again.