UNPKG

redis-smq

Version:

A high-performance, reliable, and scalable message queue for Node.js.

16 lines 808 B
import { ICallback, Runnable } from 'redis-smq-common'; import { IRedisSMQParsedConfig } from './types/index.js'; export declare class ConfigSync extends Runnable { private static instance; protected readonly logger: import("redis-smq-common").ILogger; protected constructor(); protected onLocalConfigUpdated: (cfg: IRedisSMQParsedConfig, version: number) => void; protected onEventBusConfigUpdated: (cfg: IRedisSMQParsedConfig, version: number) => void; protected setupEventListeners(): void; protected cleanupEventListeners(): void; protected goingUp(): Array<(cb: ICallback) => void>; protected goingDown(): Array<(cb: ICallback) => void>; static initialize(cb: ICallback): void; static shutdown(cb: ICallback): void; } //# sourceMappingURL=config-sync.d.ts.map