How to subscribe to, but buffer data from, an IObservable until another IObservable has published?
问题 I want to: Immediately subscribe to an IObservable<T> , but immediately start buffering any T that is received (i.e. not yet seen by my IObserver<T> ). Do some work. When the work is completed, flush the buffer to my IObserver<T> and continue It is quite important that the subscription is the first thing that happens. In a 'marble diagram' form I am after something like this... Time T+1 2 3 4 5 6 7 8 s1:IObservable<int> 1 2 3 4 5 6 7 8 s2:IObservable<bool> t r: IObservable<int> 1 3 4 5 6 7 8