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