This should be a BehaviorSubject that retains the latest value.
boformer
11

The main difference between Behaviour and Publish Subjects are, Behaviour Subject requires an initial value to start. But Publish Subject starts empty and always new elements to its subscribers.