Skip to content

Instantly share code, notes, and snippets.

@wraithan
Created April 13, 2011 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wraithan/917453 to your computer and use it in GitHub Desktop.
Save wraithan/917453 to your computer and use it in GitHub Desktop.
var redis = require('redis')
var client = redis.createClient();
while (true) {
client.blpop('testqueue', 100, redis.print)
console.log('Done, NEXT!')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment