December 2017
Intermediate to advanced
322 pages
7h 3m
English
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):

Read now
Unlock full access