private async void ProcessAnyMessagesOnQueue() { var nextMessages = await AwsService.PopNextQueueMessages(_currentQueueUrl); foreach (var message in nextMessages) { _messageProcessingAction.Invoke(GasNotificationParsing.ExtractReading(message)); } }
private async void ProcessAnyMessagesOnQueue() { var nextMessages = await AwsService.PopNextQueueMessages(_currentQueueUrl); foreach (var message in nextMessages) { _messageProcessingAction.Invoke(GasNotificationParsing.ExtractReading(message)); } }