Differences between Promise and Observable in Angular

0
87
views

Code examples and video tutorials about Promise and Observable in Angular.js

Promise

A Promise handles a single event when an async operation completes or fails.

Observable

An Observable is like a Stream (in many languages) and allows to pass zero or more events where the callback is called for each event.

Read More : https://hype.codes//differences-between-promise-and-observable-angular

LEAVE A REPLY

Please enter your comment!
Please enter your name here