# rx


04/20/2019, 3:33 PM
unless SingleSource is something that’s not the developer calling the method


04/20/2019, 10:14 PM
Not sure what you are after, your case sounds like a bug in your code because it is all observables -- singles, completables are just semantics (edited) you need to dispose of the subscription if your source observable can outlive the observer, because it holds a hard reference to it however I believe observable releases the reference after it is completed, so no leak but I would not rely on it anyways, also its pointless to make such distinction, because you will need to dispose it anyways since it observer can go away sooner than observable completes And to the contract, yes its only contract that you will receive onNext and then onComplete and no other onNexts,etc .. same as it is for Single, its only "agreement" that you wont call onSuccess after onError, no way to enforce it What I was trying to say is that there is no diference between cold observable that emits 1 onNext and then onComplete versus Single


04/21/2019, 9:14 AM
I see
there is no difference in terms of need for disposal
both need to go