How to get the “current” value of an Observer at subscribe-time
Rx offers both behaviors (as well as others). The different Rx Subjects available can let you explore the different ways observables can behave: the Rx.Subject is the most basic fire-and-forget variety — if you were not subscribed when the event happened, then you do not see it. Use new Rx.BehaviorSubject(undefined) instead of Subject and you … Read more