Library for interacting with Azure Redis Cache
const redisProcessor = require('./redisProcessor');
const redisClient = await redisProcessor.getAsyncRedisClient(REDISCACHEHOSTNAME, REDISCACHEKEY);
await redisClient.quit()
const res = await redisClient.setRedisKey(redisKey, value);
Passing the third parameter so the string can be compressed on Redis
const res = await redisClient.setRedisKey(redisKey, value, toBeCompressed);
const res = await redisClient.getRedisKey(redisKey);
If the value was compressed previously, set the second parameter so the value can be uncompressed
const res = await redisClient.getRedisKey(redisKey, isCompressed);
const res = await redisClient.delRedisKey(redisKey);