Skip to content

Instantly share code, notes, and snippets.

@wraithan
Created April 13, 2011 12:28
Show Gist options
  • 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