Understanding PublishSubject

PublishSubject emits all subsequent values that it got at the time of subscription, whether it got the value via the onNext method or through another subscription. We have already seen the application of PublishSubject, and it is the most commonly used Subject variant.

Here is a graphical representation of PublishSubject which has been taken from ReactiveX documentation (http://reactivex.io/documentation/subject.html):

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.137.117