@jiaxinjiang/nest-amqp
Version:
RabbitMQ component for NestJs.
7 lines (6 loc) • 481 B
TypeScript
import { Provider } from '@nestjs/common';
import { AMQP_CONSUMER_METADATA } from './amqp.constants';
import { Publisher } from './publisher.service';
export declare function InjectPubliser(context: string): (target: object, key: string | symbol, index?: number) => void;
export declare function createPublishersForDecorated(): Provider<Promise<Publisher>>[];
export declare function Consume(queue: string): import("@nestjs/common").CustomDecorator<typeof AMQP_CONSUMER_METADATA>;