How to Subscribe a Behavior Subject with an Observable

Discussão em 'Angular' iniciado por DevLoverUmar, Junho 20, 2025.

  1. DevLoverUmar

    DevLoverUmar Guest

    I have a scenario where I want to get the current value of an Observable variable on a user click which is a Store Selector. As per the accepted question of This Question I have to use a Behavior Subject. But I'm getting ab Observable value from the Store selector.

    Now, the problem is how to assign that Observable value to the Behavior Subject to use the current value of Behavior Subject at any time in the App.

    Continue reading...

Compartilhe esta Página