redis-smq
Version:
A simple high-performance Redis message queue for Node.js.
12 lines • 624 B
TypeScript
import { ICallback } from 'redis-smq-common';
import { RedisClient } from '../../common/redis-client/redis-client.js';
import { IQueueParams } from '../queue/index.js';
import { IExchange } from './types/exchange.js';
export declare abstract class ExchangeAbstract<ExchangeParams> implements IExchange<ExchangeParams> {
protected logger: import("redis-smq-common").ILogger;
protected redisClient: RedisClient;
constructor();
abstract getQueues(exchangeParams: ExchangeParams, cb: ICallback<IQueueParams[]>): void;
shutdown: (cb: ICallback<void>) => void;
}
//# sourceMappingURL=exchange-abstract.d.ts.map