Пример #1
0
        private async void ProcessAnyMessagesOnQueue()
        {
            var nextMessages = await AwsService.PopNextQueueMessages(_currentQueueUrl);

            foreach (var message in nextMessages)
            {
                _messageProcessingAction.Invoke(GasNotificationParsing.ExtractReading(message));
            }
        }