@cleardu/rmq
Version:
Nest - modern, fast, powerful node.js web framework (@rmq)
9 lines (8 loc) • 373 B
TypeScript
import { ConfigService } from '@nestjs/config';
import { RmqContext, RmqOptions } from '@nestjs/microservices';
export declare class RmqService {
private readonly configService;
constructor(configService: ConfigService);
getOptions(queue: string, noAck?: boolean, persistent?: boolean, prefetchCount?: number): RmqOptions;
ack(context: RmqContext): void;
}