You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
@@ -166,6 +166,10 @@ export default class RedisClient<
|
||||
return this.#socket.isOpen;
|
||||
}
|
||||
|
||||
get isReady(): boolean {
|
||||
return this.#socket.isReady;
|
||||
}
|
||||
|
||||
get v4(): Record<string, any> {
|
||||
if (!this.#options?.legacyMode) {
|
||||
throw new Error('the client is not in "legacy mode"');
|
||||
|
Reference in New Issue
Block a user