-
-
Notifications
You must be signed in to change notification settings - Fork 185
Open
Labels
type:enhancementEnhancementEnhancement
Description
This issue has originally been reported by @nineinchnick at yiisoft/yii2#1932.
Moved here by @cebe.
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 yiisoft/yii2#492.
Metadata
Metadata
Assignees
Labels
type:enhancementEnhancementEnhancement