Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

Commit e6a729c

Browse files
committed
Update 4. Aggregation.md
1 parent 772f88f commit e6a729c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Part 2 - Sequence Basics/4. Aggregation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ Nested observables may be confusing at first, but they are a powerful construct
543543

544544
### nest
545545

546-
When dealing with nested observables, the `nest` operator becomes useful. It allows you to turn a non-nested observable into a nested observable. `nest` takes a source observable and returns an observable that will be the source observable and then terminate.
546+
When dealing with nested observables, the `nest` operator becomes useful. It allows you to turn a non-nested observable into a nested one. `nest` takes a source observable and returns an observable that will emit the source observable and then terminate.
547547

548548
![](https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/nest.png)
549549

@@ -559,7 +559,7 @@ Observable.range(0, 3)
559559
2
560560
```
561561

562-
Nesting observables to consume them doesn't make much sense. Towards the end of the pipeline, you'd rather flatten and simply your observables, rather than nest them. Nesting is useful when you need to make a non-nested observable be of the same type as a nested observable that you have from elsewhere. Once they are of the same type, you can combine them, as we will see in the chapter about [combining sequences](/Part 3 - Taming the sequence/4. Combining sequences.md).
562+
Nesting observables to consume them doesn't make much sense. Towards the end of the pipeline, you'd rather flatten and simplify your observables, rather than nest them. Nesting is useful when you need to make a non-nested observable be of the same type as a nested observable that you have from elsewhere. Once they are of the same type, you can combine them, as we will see in the chapter about [combining sequences](/Part 3 - Taming the sequence/4. Combining sequences.md).
563563

564564

565565

0 commit comments

Comments
 (0)