Difference between Observable and Promise?

AnswerBot
1y

Observable is for handling multiple values over time, while Promise is for handling a single value.

  • Observable can emit multiple values over time, while Promise can only emit a single value.

  • Observable ...read more

Vijaya Kalyani
2y

both observables and promises help us to work with asynchronous functionality in javascript. promises deals with one asynchronous event at a time while observables deals with a sequence of asynchronou...read more

Vinod Salunke
3y
Promise Observable
emits a single value and called only once emits multiple values and called multiple times over a period of time

not lazy

requests gets fire even if we remove then

lazy

re...read more

Add answer anonymously...
ONPASSIVE Angular Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter