const response = await redis.pong();
console.log(response); // "PONG"
Send a ping to the server and get a response if the server is alive.
const response = await redis.pong();
console.log(response); // "PONG"
PONG
const response = await redis.pong();
console.log(response); // "PONG"
Was this page helpful?