Async pipe not working with Subject

后端 未结 2 1409
终归单人心
终归单人心 2021-02-14 16:46

I have the following BehaviorSubject in a service:

  isAuthenticated = new BehaviorSubject(false);

And I am using it as follows

2条回答
提交回复
热议问题