public override void Update(TimeSpan time)
        {
            if (!_current.Update(time))
            {
                return;
            }

            _current = GetNextWeather();
            var packet = _current.CreateUpdatePacket();

            _observable.OnNext(packet);
        }
 public WeatherService(TimeRange updateInterval)
 {
     _updateInterval = updateInterval;
     _current        = GetNextWeather();
     _observable     = AnonymousObservable <Packet> .Create(OnSubscribe);
 }