The key to get.
The new value to store.
Was this page helpful?
const oldValue = await redis.getset("key", newValue);