Ejemplo n.º 1
0
        public IObservable <RequestResponseType> Observe()
        {
            var subject    = new ReplaySubject <RequestResponseType>();
            var observable = ToObservable();
            var disposable = observable.Subscribe(subject);

            return(subject.Finally(() => disposable.Dispose()));
        }