Skip to content

Commit 0346bf2

Browse files
Update README.md
- fixed styles & grammar
1 parent 50ba6ae commit 0346bf2

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
@@ -1165,21 +1165,21 @@ You can download the PDF and Epub version of this repository from the latest run
11651165
**[⬆ Back to Top](#table-of-contents)**
11661166
11671167
44. ### What is the difference between promise and observable?
1168-
Below are the list of differences between promise and observable,
1168+
Below are the list of differences between promise and observable:
11691169
11701170
| Observable | Promise |
11711171
|---- | --------- |
1172-
| Declarative: Computation does not start until subscription so that they can be run whenever you need the result | Execute immediately on creation|
1173-
| Provide multiple values over time | Provide only one |
1174-
| Subscribe method is used for error handling which makes centralized and predictable error handling| Push errors to the child promises |
1172+
| Declarative: Computation does not start until subscription, so they can run whenever you need the result | Executes immediately on creation|
1173+
| Provides multiple values over time | Provides only one |
1174+
| Subscribe method is used for error handling that facilitates centralized and predictable error handling | Push errors to the child promises |
11751175
| Provides chaining and subscription to handle complex applications | Uses only .then() clause |
11761176
11771177
**[⬆ Back to Top](#table-of-contents)**
11781178
11791179
45. ### What is multicasting?
11801180
Multi-casting is the practice of broadcasting to a list of multiple subscribers in a single execution.
11811181
1182-
Let's demonstrate the multi-casting feature,
1182+
Let's demonstrate the multi-casting feature:
11831183
```javascript
11841184
var source = Rx.Observable.from([1, 2, 3]);
11851185
var subject = new Rx.Subject();

0 commit comments

Comments
 (0)