コード例 #1
0
        Task ConsumeContext.NotifyConsumed <T>(ConsumeContext <T> context, TimeSpan duration, string consumerType)
        {
            Task receiveTask = _receiveContext.NotifyConsumed(context, duration, consumerType);

            _pendingTasks.Add(receiveTask);

            return(TaskUtil.Completed);
        }
コード例 #2
0
        public Task NotifyConsumed <T>(ConsumeContext <T> context, TimeSpan duration, string consumerType) where T : class
        {
            Task receiveTask = _receiveContext.NotifyConsumed(context, duration, consumerType);

            _receiveContext.AddPendingTask(receiveTask);

            return(TaskUtil.Completed);
        }
コード例 #3
0
 public Task NotifyConsumed <T>(ConsumeContext <T> context, TimeSpan duration, string consumerType) where T : class
 {
     return(_receiveContext.NotifyConsumed(context, duration, consumerType));
 }
コード例 #4
0
 public Task NotifyConsumed(TimeSpan duration, string consumerType)
 {
     return(ReceiveContext.NotifyConsumed(this, duration, consumerType));
 }