Differentiate between Observables and Promises?



Differentiate between Observables and Promises?..

Answer / Dhan Pal Sahu

Observables are a higher-order function provided by RxJS that pushes data to subscribers. Unlike Promises, which resolve once with a single value or an error, Observables can emit multiple values over time (observing asynchronous data streams).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is singleton pattern and where we can find it in angularjs?

1 Answers  


What are event emitters and how it works in angular 2?

1 Answers  


What is the use of factory method in angularjs?

1 Answers  


Wht do we use directive?

1 Answers  


What is primitive data type?

1 Answers  


How is SPA (Single Page Application) technology different from the traditional web technology?

1 Answers  


Why to use “$http” in AngularJS?

1 Answers  


What are Expressions in AngularJS?

1 Answers   SLK Software,


What are the modules in angular 2?

1 Answers  


What are the security threats should we be aware of in angular 2 application?

1 Answers  


When creating a directive, it can be used in several different ways in the view. Which ways for using a directive do you know? How do you define the way your directive will be used?

1 Answers  


What are angular 2 directive?

1 Answers  


Categories