public async Task Regenerate()
        {
            await StandardNotificationLogClient.InitializeRepositories(this.neuronRepository, this.terminalRepository, this.settingsRepository);

            await this.terminalRepository.Clear();

            await this.neuronRepository.Clear();

            await this.settingsRepository.Clear();

            await this.Subscribe(StandardNotificationLogClient.StartPosition.ToString());
        }
        public async Task ResumeGeneration()
        {
            await StandardNotificationLogClient.InitializeRepositories(this.neuronRepository, this.terminalRepository, this.settingsRepository);

            var s = await this.settingsRepository.Get(Guid.Empty);

            if (s == null)
            {
                await this.Regenerate();
            }
            else
            {
                await this.Subscribe(s.LastPosition);
            }
        }