Promise VS Observable in Angular

Опубликовано: 01 Апрель 2026
на канале: Debasis Kar
908
4

Slackblitz : https://stackblitz.com/edit/angular-i...

Basically, the primary contrasts between a Promise and an Observable are as per the following:

a Promise is excited, though an Observable is apathetic,

a Promise is consistently offbeat, while an Observable can be either simultaneous or nonconcurrent,

a Promise can give a solitary worth, while an Observable is a surge of qualities (from 0 to various qualities),

you can apply RxJS administrators to an Observable to get another custom fitted stream.