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