public ExampleHub() { lock (_lock) { if (!_isObserving) { Observable.Interval(TimeSpan.FromSeconds(1)) .Subscribe(i => AllClients.PrintString("Everyone gets the time! " + DateTime.Now.ToString())); _isObserving = true; } } Observable.Interval(TimeSpan.FromSeconds(1)) .Subscribe(i => CurrentClient.PrintString("But you get your id: " + Context.ConnectionId)); }