- Home>
- subscription
In this post, I outline a few fundamental concepts I have learned about an Observable and how it is different than a Promise.
Before discussing the differences between an Observable and a Promise, let’s talk about what they have in common. Both Observables and Promises are frameworks for producing and consuming data. They follow the push protocol which means the producer determines exactly when to send the data to the consumer. In comparison, in a pull protocol, the producer only produces data when the consumer asks for it.
Continue reading