Top "Behaviorsubject" questions

Use this tag for questions related to a BehaviorSubject, which represents a value that changes over time.

Give BehaviorSubject initial value - value being an Observable

I know that I cannot give BehaviorSubject an Observable value, but I need a way to solve this issue. On …

angular rxjs observable behaviorsubject
Observables in nestjs - Reading a file asynchronously

I am trying a use case of reading a json file asynchronously and sending it out as a response (as …

node.js rxjs observable nestjs behaviorsubject
Angular 4 - rxjs BehaviorSubject usage in Service

My Service code looks like below - DataService @Injectable() export class DataService { ... private serviceRequestDtoSource = new BehaviorSubject<ServiceRequestDto>(null); …

angular rxjs behaviorsubject
Angular data loss on reload using BehaviorSubject

I'm using a data service to send the user data to the app and display the username in my header …

angular service reload behaviorsubject data-loss
Angular : remove item from BehaviorSubject<any[]>([])

This is a little data service in my Angular5 app. I am trying to add/remove item from an array (…

angular behaviorsubject
Angular 2+ subscribe to observable on change only

So here is the scenario. I have a user service with a BehaviorSubject and a method returning an observable of …

angular observable angular2-observables behaviorsubject