diff --git a/dist/redis.service.d.ts b/dist/redis.service.d.ts index c765335..54ce789 100644 --- a/dist/redis.service.d.ts +++ b/dist/redis.service.d.ts @@ -4,4 +4,5 @@ export declare class RedisService { private readonly redisClient; constructor(redisClient: RedisClient); getClient(name?: string): Redis.Redis; + getClients(): Map; } diff --git a/dist/redis.service.js b/dist/redis.service.js index 49186d4..5d0e146 100644 --- a/dist/redis.service.js +++ b/dist/redis.service.js @@ -28,6 +28,9 @@ let RedisService = class RedisService { } return this.redisClient.clients.get(name); } + getClients() { + return this.redisClient.clients; + } }; RedisService = __decorate([ common_1.Injectable(),