public Task LatchAndDrain() { Latched = true; _sender.Complete(); _serializing.Complete(); _batchWriting.Complete(); _batching.Complete(); _logger.CircuitBroken(Destination); return(Task.CompletedTask); }
public void Dispose() { _deleteIncoming.Complete(); _deleteIncomingBatching.Complete(); _deleteOutgoing.Complete(); _deleteOutgoingBatching.Complete(); _logErrorReport.Complete(); _logErrorReportBatching.Complete(); _scheduleIncoming.Complete(); _scheduleIncomingBatching.Complete(); _deleteIncomingBatching.Dispose(); _deleteOutgoingBatching.Dispose(); _logErrorReportBatching.Dispose(); _scheduleIncomingBatching.Dispose(); }
public async Task LatchAndDrain() { Latched = true; _sender.Complete(); _serializing.Complete(); _batchWriting.Complete(); _batching.Complete(); _logger.CircuitBroken(Destination); await _sender.Completion; await _serializing.Completion; await _batchWriting.Completion; await _batching.Completion; }