I am wondering what is the two approach in the following code in BehaviorSubject.
BehaviorSubject
As far as I know:
The asObservable method not only