UNPKG

redis-smq

Version:

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

14 lines 718 B
import { ICallback, IRedisClient, Runnable, WorkerCluster } from 'redis-smq-common'; export declare class BackgroundJobCluster extends Runnable<never> { protected static instance: BackgroundJobCluster | null; protected logger: import("redis-smq-common").ILogger; protected config: import("../../index.js").IRedisSMQParsedConfig; protected workerCluster: WorkerCluster | null; protected redisClient: IRedisClient | null; protected constructor(); static run(cb: ICallback<void>): void; static shutdown(cb: ICallback): void; protected goingUp(): ((cb: ICallback) => void)[]; protected goingDown(): ((cb: ICallback) => void)[]; } //# sourceMappingURL=background-job-cluster.d.ts.map