Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add a RedisProtocol.watch() method #63
Following the issue #62,
I propose a pull request with a patch adding RedisProtocol.watch() method. RedisProtocol.multi() has been updated in order to use the new method.
I added a test case addressing the one described in the issue, while the two existing tests already cover other common cases for watch(). Other cases can be tested (such as cases with unwatch()) but I'm not sure it's in the scope of this PR.