You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice no more values appear after Reconnecting. Looks like calling unsubscribe on the ConnectableObservable's subscription also terminates subsequent subscriptions, too. I need to call connectable.subscribe(i -> System.out.println(i)) again in order to produce output while the text says that 'old observers will begin receiving values again' after calling connect() on the ConnectableObservable object. I'm using RxJava 1.0.14.
The text was updated successfully, but these errors were encountered:
Thanks for discovering this. It appears that the behaviour has changed since the example was written.
I think this may be a new bug in RxJava. Apart from the fact that I don't understand the logic behind such a change, the old subscriber isn't actually unsubscribed.
Hi,
Please check the code example here:
The actual output is:
Notice no more values appear after
Reconnecting
. Looks like callingunsubscribe
on theConnectableObservable
's subscription also terminates subsequent subscriptions, too. I need to callconnectable.subscribe(i -> System.out.println(i))
again in order to produce output while the text says that 'old observers will begin receiving values again' after callingconnect()
on theConnectableObservable
object. I'm using RxJava 1.0.14.The text was updated successfully, but these errors were encountered: