Example #1
0
            public Task Send(IPipe <ProducerContext> pipe, CancellationToken cancellationToken)
            {
                var supervisor = _producerContextSupervisor.Supervisor;

                return(_configuration.Retry(() => supervisor.Send(pipe, cancellationToken), supervisor, cancellationToken));
            }
Example #2
0
 public Task Send(IPipe <ProducerContext <TKey, TValue> > pipe, CancellationToken cancellationToken)
 {
     return(_hostConfiguration.Retry(() => _supervisor.Send(pipe, cancellationToken), _supervisor, cancellationToken));
 }