ÿØÿà JFIF H H ÿÛ C GIF89;
| System: Linux srv913213 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 Current Path : /var/www/talentgenesis_admin_backend/node_modules/@nestjs/microservices/server/ |
| Current File : /var/www/talentgenesis_admin_backend/node_modules/@nestjs/microservices/server/server-redis.d.ts |
import { Transport } from '../enums';
import { CustomTransportStrategy, RedisOptions } from '../interfaces';
import { Server } from './server';
type Redis = any;
export declare class ServerRedis extends Server implements CustomTransportStrategy {
private readonly options;
readonly transportId = Transport.REDIS;
private subClient;
private pubClient;
private isExplicitlyTerminated;
constructor(options: RedisOptions['options']);
listen(callback: (err?: unknown, ...optionalParams: unknown[]) => void): void;
start(callback?: () => void): void;
bindEvents(subClient: Redis, pubClient: Redis): void;
close(): void;
createRedisClient(): Redis;
getMessageHandler(pub: Redis): (channel: string, pattern: string, buffer: string | any) => Promise<any>;
handleMessage(channel: string, buffer: string | any, pub: Redis, pattern: string): Promise<any>;
getPublisher(pub: Redis, pattern: any, id: string): (response: any) => any;
parseMessage(content: any): Record<string, any>;
getRequestPattern(pattern: string): string;
getReplyPattern(pattern: string): string;
handleError(stream: any): void;
getClientOptions(): Partial<RedisOptions['options']>;
createRetryStrategy(times: number): undefined | number | void;
}
export {};