What is the difference between promise and observable in angular8?
Observables | Promises |
---|---|
Both synchronous as well as asynchronous | Always asynchronous |
Can emit multiple values | Provides only one single value |
It is lazy | It is eager |
BY Best Interview Question ON 31 Mar 2020