What is the difference between a Observable and a Subject in rxjs?

前端 未结 8 1041
难免孤独
难免孤独 2020-12-01 00:05

i was going through this blog and to read about Observables and i couldnt figure out the difference between the Observable and a Subject

8条回答
  •  春和景丽
    2020-12-01 00:45

    Observable can inform only one observer, while Subject can inform multiple observers.

提交回复
热议问题