Skip to content

Commit 865927d

Browse files
authored
Merge pull request #65 from VasileDurlesteanu/master
Update README.md
2 parents 53938ff + 0346bf2 commit 865927d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,21 +1152,21 @@ You can download the PDF and Epub version of this repository from the latest run
11521152
**[⬆ Back to Top](#table-of-contents)**
11531153
11541154
44. ### What is the difference between promise and observable?
1155-
Below are the list of differences between promise and observable,
1155+
Below are the list of differences between promise and observable:
11561156
11571157
| Observable | Promise |
11581158
|---- | --------- |
1159-
| Declarative: Computation does not start until subscription so that they can be run whenever you need the result | Execute immediately on creation|
1160-
| Provide multiple values over time | Provide only one |
1161-
| Subscribe method is used for error handling which makes centralized and predictable error handling| Push errors to the child promises |
1159+
| Declarative: Computation does not start until subscription, so they can run whenever you need the result | Executes immediately on creation|
1160+
| Provides multiple values over time | Provides only one |
1161+
| Subscribe method is used for error handling that facilitates centralized and predictable error handling | Push errors to the child promises |
11621162
| Provides chaining and subscription to handle complex applications | Uses only .then() clause |
11631163
11641164
**[⬆ Back to Top](#table-of-contents)**
11651165
11661166
45. ### What is multicasting?
11671167
Multi-casting is the practice of broadcasting to a list of multiple subscribers in a single execution.
11681168
1169-
Let's demonstrate the multi-casting feature,
1169+
Let's demonstrate the multi-casting feature:
11701170
```javascript
11711171
var source = Rx.Observable.from([1, 2, 3]);
11721172
var subject = new Rx.Subject();

0 commit comments

Comments
 (0)