method IRedisClient.ping
Since 0.5.0
IRedisClient.ping(): Promise<string>

Pings the server (M90b). The Redis store's reachability probe invokes it; a PONG response proves the backend is reachable, and a rejection does not. The real ioredis client implements it.

Return Type

Promise<string>

The server's PONG reply

Usage

import { type IRedisClient } from "cache-plugin/src/index.ts";