Browse Source

Update post.md

pull/22082/head
Yağmur Çelik 2 years ago
committed by GitHub
parent
commit
1f2330643e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      docs/en/Community-Articles/2024-09-24-Angular-Difference-Btw-Promise-Observable/post.md

4
docs/en/Community-Articles/2024-09-24-Angular-Difference-Btw-Promise-Observable/post.md

@ -2,10 +2,6 @@
In this article, I will mention the differences between `Promise` and `Observable` . They are used in TypeScript (Angular) for handling async operations but have different use cases and behaviors. Let's see these six differences...
![Cover](cover.png)
## 1. Eager or Lazy Evaluation
- **Promise**: A `promise` is **eager**! This means that as soon as a `promise` is created, it executes the operation, like initiating immediately an HTTP request. **You can't control the execution start time; it begins right away!**

Loading…
Cancel
Save