You can use the phpredis
or predis
with Swoole\Runtime::enableCoroutine to enable the coroutine support for the Redis Client.
The API are the same as https://github.com/phpredis/phpredis and https://github.com/nrk/predis.
Notice: the following methods are not implemented:
scan object sort migrate hscan sscan zscan
.