You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-16 08:41:57 +03:00
add isOpen boolean getter on client, add maxLength option to command queue, add test for client.multi
This commit is contained in:
@@ -78,6 +78,10 @@ export default class RedisSocket extends EventEmitter {
|
||||
|
||||
#isOpen = false;
|
||||
|
||||
get isOpen(): boolean {
|
||||
return this.#isOpen;
|
||||
}
|
||||
|
||||
get chunkRecommendedSize(): number {
|
||||
if (!this.#socket) return 0;
|
||||
|
||||
|
Reference in New Issue
Block a user