Skip to content

Instantly share code, notes, and snippets.

@paulcarey
Created July 14, 2010 09:14
Show Gist options
  • Save paulcarey/475213 to your computer and use it in GitHub Desktop.
Save paulcarey/475213 to your computer and use it in GitHub Desktop.
// Example 1
function (clientCallback) {
redis.set('foo1', 'bar1');
redis.set('foo2', 'bar2', clientCallback);
}
// Example 2
function (clientCallback) {
redis.set('foo1', 'bar1', function () {
redis.set('foo2', 'bar2', clientCallback);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment