How are observables different from promises?

Emits a single valueEmits multiple values over a period of time
Not LazyLazy. An observable is not called until we subscribe to the observable
Cannot be cancelledCan be cancelled by using the unsubscribe() method
 Observable provides operators like map, forEach, filter, reduce, retry, retryWhen etc.

Leave a Comment