Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed sample #12

Merged
merged 1 commit into from

2 participants

@joscha

Autostart the queues and rename eatTest to match the sample explanation.

@jdarling jdarling merged commit d6942ae into jdarling:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 17, 2012
  1. @joscha

    Fixed sample

    joscha authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 readme.md
View
4 readme.md
@@ -175,7 +175,7 @@ var MongoMQ = require('../lib/MongoMQ').MongoMQ;
var repl = require('repl');
var queue = new MongoMQ({
- autoStart: false
+ autoStart: true
});
var r = repl.start({
@@ -211,7 +211,7 @@ r.context.logAny = function(){
queue.onAny(logMsg);
};
-r.context.eatTest = function(){
+r.context.listen = function(){
queue.on('test', eatTest);
};
Something went wrong with that request. Please try again.