public Task TestFunction() { _notification.Callback("Send", $"{DateTime.Now} a new message from server"); _notification.Callback("SendAnotherMessage", $"{DateTime.Now} another message from server"); return(_eventPublisher.Publish(new NotifierEvent())); //return Task.CompletedTask; }