BehaviorSubject in rxjs

2 years ago
1

In RxJS, a BehaviorSubject is a variant of a Subject that always emits its latest value to its subscribers. It stores the latest value emitted, and any new subscriber will immediately receive that value before receiving any other values emitted by the BehaviorSubject.

Loading comments...