예제 #1
0
        public virtual Task NotifyConsumed <T>(ConsumeContext <T> context, TimeSpan duration, string consumerType) where T : class
        {
            IsDelivered = true;

            context.LogConsumed(duration, consumerType);

            return(_receiveObserver.PostConsume(context, duration, consumerType));
        }
예제 #2
0
 Task IReceiveObserver.PostConsume <T>(ConsumeContext <T> context, TimeSpan duration, string consumerType)
 {
     return(_receiveObserver.PostConsume(context, duration, consumerType));
 }