public async Task Send(SendContext <T> context) { context.MessageId = MessageId; context.SetScheduledEnqueueTime(_scheduledTime); if (_pipe != null) { await _pipe.Send(context).ConfigureAwait(false); } if (_sendPipe != null) { await _sendPipe.Send(context).ConfigureAwait(false); } }
public async Task Send(SendContext <T> context) { _context = context; context.SetScheduledEnqueueTime(_scheduledTime); if (_pipe.IsNotEmpty()) { await _pipe.Send(context).ConfigureAwait(false); } if (_sendPipe.IsNotEmpty()) { await _sendPipe.Send(context).ConfigureAwait(false); } }
public override Task Send(SendContext <T> context) { context.SetScheduledEnqueueTime(_scheduledTime); return(base.Send(context)); }