Permalink
Browse files

Note about subscribeTo/unsubscribeFrom

  • Loading branch information...
1 parent 2f2949d commit afd09dcd780f3519acdd4cefacdf7e0722dc61eb @fictorial committed Apr 6, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 README.md
View
@@ -80,6 +80,9 @@ the callback function is called.
This can get [a little wacky](http://github.com/fictorial/redis-node-client/blob/master/test/test.js#L1093-1097).
I'm open to suggestions for improvement here.
+Note: for PUBSUB, you should use `subscribeTo` and `unsubscribeFrom` instead of the generated
+methods for Redis' `SUBSCRIBE` and `UNSUBSCRIBE` commands. See [this](http://github.com/fictorial/redis-node-client/blob/master/lib/redis-client.js#L682-694).
+
## Notes
All commands/requests use the Redis *multi-bulk request* format which will be

0 comments on commit afd09dc

Please sign in to comment.