redis-smq
Version:
A simple high-performance Redis message queue for Node.js.
13 lines • 828 B
TypeScript
import { ICallback } from 'redis-smq-common';
import { IQueueParams } from '../../queue/index.js';
import { ExchangeAbstract } from '../exchange-abstract.js';
export declare class ExchangeFanOut extends ExchangeAbstract<string> {
getQueues(exchangeParams: string, cb: ICallback<IQueueParams[]>): void;
saveExchange(exchangeParams: string, cb: ICallback<void>): void;
deleteExchange(exchangeParams: string, cb: ICallback<void>): void;
bindQueue(queue: IQueueParams | string, exchangeParams: string, cb: ICallback<void>): void;
unbindQueue(queue: IQueueParams | string, exchangeParams: string, cb: ICallback<void>): void;
getAllExchanges(cb: ICallback<string[]>): void;
getQueueExchange(queue: IQueueParams | string, cb: ICallback<string | null>): void;
}
//# sourceMappingURL=exchange-fan-out.d.ts.map