Closed
Description
It appears that pub sub is not really async. After trying to figure out why I wasn't receiving commands on another client, I finally tried commenting out $client->subscribe($channel);
and all of a sudden the publish commands were going through.
With a client subscribe the following code never logged the publish complete message:
$this->redis->publish($this->channel, json_encode($msg))->then(function($return) {
$this->debug('Publish received ' . $return);
});