UNPKG

@goparrot/pubsub-event-bus

Version:
9 lines (8 loc) 442 B
import type { IChannelWrapper, IHandlerWrapper } from '../../interface'; import { AutoAckEnum } from '../../interface'; import { AbstractHandleWrapperStrategy } from './AbstractHandleWrapperStrategy'; export declare class AckAndNackStrategy extends AbstractHandleWrapperStrategy { private addAutoAck; readonly strategy = AutoAckEnum.ACK_AND_NACK; process(handlerWrapper: IHandlerWrapper, channelWrapper: IChannelWrapper): void; }