def listen(self):
        "Listen for messages on channels this client has been subscribed to"
        while self.subscribed:
            response = self.handle_message(self.parse_response(block=True))
            if response is not None:
                yield response
Listen for messages on channels this client has been subscribed to
stackoverflow/venv/lib/python3.6/site-packages/redis/client.py