1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00

fix #1864 - cluster.quit (#1886)

This commit is contained in:
Leibale Eidelman
2022-01-31 08:35:35 -05:00
committed by GitHub
parent 8160fa7d65
commit 46b831c922
2 changed files with 19 additions and 4 deletions

View File

@ -191,6 +191,10 @@ export default class RedisCluster<M extends RedisModules, S extends RedisScripts
return this.#slots.getSlotMaster(slot);
}
quit(): Promise<void> {
return this.#slots.quit();
}
disconnect(): Promise<void> {
return this.#slots.disconnect();
}