What is BehaviorSubject in RxJs?

BehaviorSubject is a variant of a Subject which has a notion of the current value that it stores and emits to all new subscriptions . This current value is either the item most recently emitted by the source observable or a seed/default value if none has yet been emitted.

Sizin İçin Seçtik  What is the difference between Observable and observer in Angular?

Leave a Reply

Your email address will not be published. Required fields are marked *