what is difference between observable and promise in angular 5?
Promises deal with one asynchronous event at a time, while observables handle a sequence of asynchronous events over a period of time. Let's see the difference between these two. Emit multiple values over a period of time. Emit a single value at a time.