@goparrot/pubsub-event-bus
Version:
NestJS EventBus extension for RabbitMQ PubSub
9 lines (8 loc) • 449 B
TypeScript
import type { IChannelWrapper, IHandlerWrapper } from '../../interface';
import { AutoAckEnum } from '../../interface';
import { AbstractHandleWrapperStrategy } from './AbstractHandleWrapperStrategy';
export declare class AlwaysAckStrategy extends AbstractHandleWrapperStrategy {
private addAlwaysPositiveAck;
readonly strategy = AutoAckEnum.ALWAYS_ACK;
process(handlerWrapper: IHandlerWrapper, channelWrapper: IChannelWrapper): void;
}