Skip to content

Commit bd0a7e9

Browse files
committed
2.2 Added mention of limit
1 parent caae25e commit bd0a7e9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Part 2 - Sequence Basics/2. Reducing a sequence.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ Output
228228
Completed
229229
```
230230

231+
Users of Java 8 streams will be know the `take` operator as `limit`. The `limit` operator exists in Rx too, for symmetry purposes. It is an alias of `take`, but it lacks the richer overloads.
232+
231233
`take` completes as soon as the n-th item is available and does not care what the source emits after that.
232234

233235
```java

0 commit comments

Comments
 (0)