Redis – How do I convert this await call to a promise style .then call
async function getRedisKeyAsync(key){ var value = await client.get(key); console.log('got value ' + value + ' for key ' + key + ' in redis'); return value; } async function getRedisKeyPromise(key){ client.get(key).then( (value) => { console.log('got value ' + value +…