await redis.touch("key1", "key2", "key3");

Arguments

keys
...string[]
required

One or more keys.

Response

The number of keys that were touched.

await redis.touch("key1", "key2", "key3");