UNPKG

@goparrot/pubsub-event-bus

Version:
9 lines (8 loc) 449 B
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; }