Skip to content

Commit 441c00b

Browse files
authored
Merge pull request #66 from VasileDurlesteanu/master
Update README.md
2 parents 865927d + 305f7e0 commit 441c00b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ You can download the PDF and Epub version of this repository from the latest run
11591159
| Declarative: Computation does not start until subscription, so they can run whenever you need the result | Executes immediately on creation|
11601160
| Provides multiple values over time | Provides only one |
11611161
| Subscribe method is used for error handling that facilitates centralized and predictable error handling | Push errors to the child promises |
1162-
| Provides chaining and subscription to handle complex applications | Uses only .then() clause |
1162+
| Provides chaining and subscription to handle complex applications | Uses only `.then()` clause |
11631163
11641164
**[⬆ Back to Top](#table-of-contents)**
11651165
@@ -1186,7 +1186,7 @@ You can download the PDF and Epub version of this repository from the latest run
11861186
**[⬆ Back to Top](#table-of-contents)**
11871187
11881188
46. ### How do you perform error handling in observables?
1189-
You can handle errors by specifying an **error callback** on the observer instead of relying on try/catch which are ineffective in asynchronous environment.
1189+
You can handle errors by specifying an **error callback** on the observer instead of relying on `try`/`catch`, which are ineffective in asynchronous environment.
11901190
11911191
For example, you can define error callback as below,
11921192
```javascript
@@ -1198,8 +1198,8 @@ You can download the PDF and Epub version of this repository from the latest run
11981198
11991199
**[⬆ Back to Top](#table-of-contents)**
12001200
1201-
47. ### What is the short hand notation for subscribe method?
1202-
The subscribe() method can accept callback function definitions in line, for next, error, and complete handlers is known as short hand notation or Subscribe method with positional arguments.
1201+
47. ### What is the shorthand notation for subscribe method?
1202+
The `subscribe()` method can accept callback function definitions in line, for `next`, `error`, and `complete` handlers. It is known as shorthand notation or Subscribe method with positional arguments.
12031203
12041204
For example, you can define subscribe method as below,
12051205
```javascript

0 commit comments

Comments
 (0)