Example #1
0
 public Task Compensate(CompensateContext <TLog> context, IPipe <CompensateActivityContext <TActivity, TLog> > next)
 {
     return(_compensateFactory.Compensate(context, next));
 }
        public async Task Send(CompensateContext <TLog> context, IPipe <CompensateContext <TLog> > next)
        {
            await _factory.Compensate(context, _pipe).ConfigureAwait(false);

            await next.Send(context).ConfigureAwait(false);
        }