public async Task QuickSend(Envelope envelope) { envelope.Status = TransportConstants.Outgoing; await _agent.EnqueueOutgoing(envelope); _logger.Sent(envelope); }
public Task QuickSend(Envelope envelope) { envelope.Status = TransportConstants.Outgoing; return(_agent.EnqueueOutgoing(envelope)); }