A

Admin • 833.24K Points
Coach

Q. What is the difference between an Observable and a Promise in Angular?

  • (A) Observable can emit multiple values over time, Promise emits only one
  • (B) Promise can emit multiple values, Observable only one
  • (C) Both are exactly the same
  • (D) Observable is synchronous, Promise is asynchronous
  • Correct Answer - Option(A)
  • Views: 35
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

Observables support streams of multiple asynchronous events.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.