public Task Send(IPipe <ProducerContext> pipe, CancellationToken cancellationToken) { var supervisor = _producerContextSupervisor.Supervisor; return(_configuration.Retry(() => supervisor.Send(pipe, cancellationToken), supervisor, cancellationToken)); }
public Task Send(IPipe <ProducerContext <TKey, TValue> > pipe, CancellationToken cancellationToken) { return(_hostConfiguration.Retry(() => _supervisor.Send(pipe, cancellationToken), _supervisor, cancellationToken)); }