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

Merge branch 'v5' of github.com:leibale/node-redis into v5

This commit is contained in:
Leibale
2024-01-24 03:31:17 -05:00

View File

@@ -375,8 +375,9 @@ export default class RedisCluster<
}) as RedisClusterType<_M, _F, _S, _RESP, _TYPE_MAPPING>;
}
connect() {
return this._self.#slots.connect();
async connect() {
await this._self.#slots.connect();
return this as unknown as RedisClusterType<M, F, S, RESP, TYPE_MAPPING>;
}
withCommandOptions<