问题:
Can someone please explain the difference between Promise and Observable in Angular? 有人可以解释Angular中Promise和Observable之间的区别吗?
An example on each would be helpful in understanding both the cases. 每个示例都将有助于理解这两种情况。 In what scenario can we use each case? 在什么情况下我们可以使用每种情况?
解决方案:
参考一: https://stackoom.com/question/2WmKr/Promises和Observables有什么区别参考二: https://oldbug.net/q/2WmKr/What-is-the-difference-between-Promises-and-Observables
来源:oschina
链接:https://my.oschina.net/stackoom/blog/4307386