Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis pubsub support #1932

Closed
nineinchnick opened this issue Jan 12, 2014 · 1 comment
Closed

Redis pubsub support #1932

nineinchnick opened this issue Jan 12, 2014 · 1 comment

Comments

@nineinchnick
Copy link
Contributor

When (P)SUBSCRIBE is called in Redis a client is not supposed to execute any more commands except for (P)(UN)SUBSCRIBE.
He then should listen for incoming messages.

This can be achieved by making parseResponse() public. Also, either it has to return null on timeout instead of an exception or throw a different exception so it can be caught. Or at least one with a different code.

I require this in my queue implementation that I'm working on for #492.

@yii-bot
Copy link

yii-bot commented Jan 23, 2016

Issue moved to yiisoft/yii2-redis#56

@yii-bot yii-bot closed this as completed Jan 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants