Jan 6 in Angular
Q: How do Observables differ from Promises?

1 Answer

Jan 6

As soon as a promise is made, the execution takes place. However, this is not the case with observables because they are lazy. This means that nothing happens until a subscription is made. While promises handle a single event, observable is a stream that allows passing of more than one event. A callback is made for each event in an observable.

Click here to read more about Angular JS
Click here to read more about Insurance

Related questions

Sep 16 in Agile
Jun 13, 2019 in User Research Methods
May 4 in Image processing