public ConsumerMessageSyncHandler( ILogger logger, NATSConsumerSubscriptionConfig subscriptionConfig, Action <NATSJetStreamMsgContent> messageHandler, Func <NATSConsumerSubscriptionConfig, MessagePacket, MessageAck, ValueTask> messageAckCallback) : base(logger, subscriptionConfig, messageAckCallback) { _messageHandler = messageHandler; }
public ConsumerMessageHandler( ILogger logger, NATSConsumerSubscriptionConfig subscriptionConfig, Func <NATSConsumerSubscriptionConfig, MessagePacket, MessageAck, ValueTask> messageAckCallback) : base(logger) { _subscriptionConfig = subscriptionConfig; _messageAckCallback = messageAckCallback; SubscribeId = subscriptionConfig.SubscribeId; }