What is difference between promise and observable?

The biggest difference is that Promises won’t change their value once they have been fulfilled . They can only emit (reject, resolve) a single value. On the other hand, observables can emit multiple results. The subscriber will be receiving results until the observer is completed or unsubscribed from.

Leave a Reply

Your email address will not be published. Required fields are marked *