Skip to content

Commit 6443786

Browse files
Javadoc with images
1 parent 22eb9a6 commit 6443786

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

rxjava-core/src/main/java/rx/Observable.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1815,6 +1815,8 @@ public static Observable<Long> interval(long interval, TimeUnit unit, Scheduler
18151815
* <p>
18161816
* NOTE: If events keep firing faster than the timeout then no data will be emitted.
18171817
* <p>
1818+
* <img width="640" src="https://github.com/Netflix/RxJava/wiki/images/rx-operators/debounce.png">
1819+
* <p>
18181820
* Information on debounce vs throttle:
18191821
* <p>
18201822
* <ul>
@@ -1840,6 +1842,8 @@ public Observable<T> debounce(long timeout, TimeUnit unit) {
18401842
* <p>
18411843
* NOTE: If events keep firing faster than the timeout then no data will be emitted.
18421844
* <p>
1845+
* <img width="640" src="https://github.com/Netflix/RxJava/wiki/images/rx-operators/debounce.png">
1846+
* <p>
18431847
* Information on debounce vs throttle:
18441848
* <p>
18451849
* <ul>
@@ -1866,6 +1870,8 @@ public Observable<T> debounce(long timeout, TimeUnit unit, Scheduler scheduler)
18661870
* <p>
18671871
* NOTE: If events keep firing faster than the timeout then no data will be emitted.
18681872
* <p>
1873+
* <img width="640" src="https://github.com/Netflix/RxJava/wiki/images/rx-operators/throttleWithTimeout.png">
1874+
* <p>
18691875
* Information on debounce vs throttle:
18701876
* <p>
18711877
* <ul>
@@ -1890,6 +1896,8 @@ public Observable<T> throttleWithTimeout(long timeout, TimeUnit unit) {
18901896
* Debounces by dropping all values that are followed by newer values before the timeout value expires. The timer resets on each `onNext` call.
18911897
* <p>
18921898
* NOTE: If events keep firing faster than the timeout then no data will be emitted.
1899+
* <p>
1900+
* <img width="640" src="https://github.com/Netflix/RxJava/wiki/images/rx-operators/throttleWithTimeout.png">
18931901
*
18941902
* @param timeout
18951903
* The time each value has to be 'the most recent' of the {@link Observable} to ensure that it's not dropped.
@@ -1908,6 +1916,8 @@ public Observable<T> throttleWithTimeout(long timeout, TimeUnit unit, Scheduler
19081916
* Throttles by skipping value until `skipDuration` passes and then emits the next received value.
19091917
* <p>
19101918
* This differs from {@link #throttleLast} in that this only tracks passage of time whereas {@link #throttleLast} ticks at scheduled intervals.
1919+
* <p>
1920+
* <img width="640" src="https://github.com/Netflix/RxJava/wiki/images/rx-operators/throttleFirst.png">
19111921
*
19121922
* @param skipDuration
19131923
* Time to wait before sending another value after emitting last value.
@@ -1925,6 +1935,8 @@ public Observable<T> throttleFirst(long windowDuration, TimeUnit unit) {
19251935
* Throttles by skipping value until `skipDuration` passes and then emits the next received value.
19261936
* <p>
19271937
* This differs from {@link #throttleLast} in that this only tracks passage of time whereas {@link #throttleLast} ticks at scheduled intervals.
1938+
* <p>
1939+
* <img width="640" src="https://github.com/Netflix/RxJava/wiki/images/rx-operators/throttleFirst.png">
19281940
*
19291941
* @param skipDuration
19301942
* Time to wait before sending another value after emitting last value.
@@ -1942,6 +1954,8 @@ public Observable<T> throttleFirst(long skipDuration, TimeUnit unit, Scheduler s
19421954
* Throttles by returning the last value of each interval defined by 'intervalDuration'.
19431955
* <p>
19441956
* This differs from {@link #throttleFirst} in that this ticks along at a scheduled interval whereas {@link #throttleFirst} does not tick, it just tracks passage of time.
1957+
* <p>
1958+
* <img width="640" src="https://github.com/Netflix/RxJava/wiki/images/rx-operators/throttleLast.png">
19451959
*
19461960
* @param intervalDuration
19471961
* Duration of windows within with the last value will be chosen.
@@ -1958,6 +1972,8 @@ public Observable<T> throttleLast(long intervalDuration, TimeUnit unit) {
19581972
* Throttles by returning the last value of each interval defined by 'intervalDuration'.
19591973
* <p>
19601974
* This differs from {@link #throttleFirst} in that this ticks along at a scheduled interval whereas {@link #throttleFirst} does not tick, it just tracks passage of time.
1975+
* <p>
1976+
* <img width="640" src="https://github.com/Netflix/RxJava/wiki/images/rx-operators/throttleLast.png">
19611977
*
19621978
* @param intervalDuration
19631979
* Duration of windows within with the last value will be chosen.

0 commit comments

Comments
 (0)