Skip to content

Commit c8860e4

Browse files
committed
Using updated marble diagram from javadocs
1 parent fe7df5a commit c8860e4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Part 3 - Taming the sequence/5. Time-shifted sequences.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ The size of a collection here depends on how many values were emitted in that ti
5454

5555
#### buffer by count and time
5656

57-
You can use both a buffer size and a timespan to buffer values. The buffered values are emitted if either the buffer is full or if the time slot ends and a new one starts. Note that, as of the writting of this guide, the [marble diagram for this operator](https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/buffer6.png) is misleading, as it shows that a timespan resets if a buffer is emitted because it is full.
57+
You can use both a buffer size and a timespan to buffer values. The buffered values are emitted if either the buffer is full or if the time slot ends and a new one starts.
58+
59+
![](https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/buffer6.png)
5860

5961
```java
6062
Observable.interval(100, TimeUnit.MILLISECONDS)

0 commit comments

Comments
 (0)