await redis.set("mykey", "Hello"); await redis.expire("mykey", 10);
Sets a timeout on key. The key will automatically be deleted.
1
0
Was this page helpful?