The one method of a Redis client the store calls: ioredis's call, or
node-redis's sendCommand. A client from new Redis(), new Cluster() or
createClient() is passed as it is.
A node-redis cluster's sendCommand takes the key first, so wrap it:
{ sendCommand: (args) => cluster.sendCommand(args[1], false, args) }.
The one method of a Redis client the store calls: ioredis's
call, or node-redis'ssendCommand. A client fromnew Redis(),new Cluster()orcreateClient()is passed as it is.A node-redis cluster's
sendCommandtakes the key first, so wrap it:{ sendCommand: (args) => cluster.sendCommand(args[1], false, args) }.