public Task StartAsync(CancellationToken cancellationToken)
 {
     _socketSubscriber.Subscribe(MessageDispatcher);
     _socketSubscriber.Start();
     _log.WriteInfoAsync(GetType().Name, "Initialization", "Started");
     return(Task.CompletedTask);
 }
 public void Start()
 {
     _socketSubscriber.Subscribe(MessageDispatcher);
     _socketSubscriber.Start();
     _log.WriteInfoAsync(GetType().Name, "Initialization", "Started");
 }