1.

What is the difference between promise and observable in angular8?

Answer»
ObservablesPromises
Both SYNCHRONOUS as well as asynchronousAlways asynchronous
Can emit MULTIPLE valuesProvides only ONE single value
It is lazyIt is EAGER


Discussion

No Comment Found