Skip to content

Commit 63a5931

Browse files
davidmotenakarnokd
authored andcommitted
2.x - improve timer javadoc (#4694)
1 parent a2cb6ab commit 63a5931

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

src/main/java/io/reactivex/Flowable.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3784,7 +3784,7 @@ public static <T> Flowable<T> switchOnNextDelayError(Publisher<? extends Publish
37843784
}
37853785

37863786
/**
3787-
* Returns a Flowable that emits one item after a specified delay, and then completes.
3787+
* Returns a Flowable that emits {@code 0L} after a specified delay, and then completes.
37883788
* <p>
37893789
* <img width="640" height="200" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/timer.png" alt="">
37903790
* <dl>
@@ -3799,7 +3799,7 @@ public static <T> Flowable<T> switchOnNextDelayError(Publisher<? extends Publish
37993799
* the initial delay before emitting a single {@code 0L}
38003800
* @param unit
38013801
* time units to use for {@code delay}
3802-
* @return a Flowable that emits one item after a specified delay, and then completes
3802+
* @return a Flowable that emits {@code 0L} after a specified delay, and then completes
38033803
* @see <a href="http://reactivex.io/documentation/operators/timer.html">ReactiveX operators documentation: Timer</a>
38043804
*/
38053805
@BackpressureSupport(BackpressureKind.ERROR)
@@ -3809,7 +3809,7 @@ public static Flowable<Long> timer(long delay, TimeUnit unit) {
38093809
}
38103810

38113811
/**
3812-
* Returns a Flowable that emits one item after a specified delay, on a specified Scheduler, and then
3812+
* Returns a Flowable that emits {@code 0L} after a specified delay, on a specified Scheduler, and then
38133813
* completes.
38143814
* <p>
38153815
* <img width="640" height="200" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/timer.s.png" alt="">
@@ -3827,7 +3827,7 @@ public static Flowable<Long> timer(long delay, TimeUnit unit) {
38273827
* time units to use for {@code delay}
38283828
* @param scheduler
38293829
* the {@link Scheduler} to use for scheduling the item
3830-
* @return a Flowable that emits one item after a specified delay, on a specified Scheduler, and then
3830+
* @return a Flowable that emits {@code 0L} after a specified delay, on a specified Scheduler, and then
38313831
* completes
38323832
* @see <a href="http://reactivex.io/documentation/operators/timer.html">ReactiveX operators documentation: Timer</a>
38333833
*/

src/main/java/io/reactivex/Maybe.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@ public static <T> Single<Boolean> sequenceEqual(MaybeSource<? extends T> source1
12641264
}
12651265

12661266
/**
1267-
* Returns a Maybe that emits one item after a specified delay.
1267+
* Returns a Maybe that emits {@code 0L} after a specified delay.
12681268
* <p>
12691269
* <img width="640" height="200" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/timer.png" alt="">
12701270
* <dl>
@@ -1276,7 +1276,7 @@ public static <T> Single<Boolean> sequenceEqual(MaybeSource<? extends T> source1
12761276
* the initial delay before emitting a single {@code 0L}
12771277
* @param unit
12781278
* time units to use for {@code delay}
1279-
* @return a Maybe that emits one item after a specified delay
1279+
* @return a Maybe that emits {@code 0L} after a specified delay
12801280
* @see <a href="http://reactivex.io/documentation/operators/timer.html">ReactiveX operators documentation: Timer</a>
12811281
*/
12821282
@SchedulerSupport(SchedulerSupport.COMPUTATION)
@@ -1285,7 +1285,7 @@ public static Maybe<Long> timer(long delay, TimeUnit unit) {
12851285
}
12861286

12871287
/**
1288-
* Returns a Maybe that emits one item after a specified delay on a specified Scheduler.
1288+
* Returns a Maybe that emits {@code 0L} after a specified delay on a specified Scheduler.
12891289
* <p>
12901290
* <img width="640" height="200" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/timer.s.png" alt="">
12911291
* <dl>
@@ -1299,7 +1299,7 @@ public static Maybe<Long> timer(long delay, TimeUnit unit) {
12991299
* time units to use for {@code delay}
13001300
* @param scheduler
13011301
* the {@link Scheduler} to use for scheduling the item
1302-
* @return a Maybe that emits one item after a specified delay, on a specified Scheduler
1302+
* @return a Maybe that emits {@code 0L} after a specified delay, on a specified Scheduler
13031303
* @see <a href="http://reactivex.io/documentation/operators/timer.html">ReactiveX operators documentation: Timer</a>
13041304
*/
13051305
@SchedulerSupport(SchedulerSupport.CUSTOM)

src/main/java/io/reactivex/Observable.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3282,7 +3282,7 @@ public static <T> Observable<T> switchOnNextDelayError(ObservableSource<? extend
32823282
}
32833283

32843284
/**
3285-
* Returns an Observable that emits one item after a specified delay, and then completes.
3285+
* Returns an Observable that emits {@code 0L} after a specified delay, and then completes.
32863286
* <p>
32873287
* <img width="640" height="200" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/timer.png" alt="">
32883288
* <dl>
@@ -3294,7 +3294,7 @@ public static <T> Observable<T> switchOnNextDelayError(ObservableSource<? extend
32943294
* the initial delay before emitting a single {@code 0L}
32953295
* @param unit
32963296
* time units to use for {@code delay}
3297-
* @return an Observable that emits one item after a specified delay, and then completes
3297+
* @return an Observable that {@code 0L} after a specified delay, and then completes
32983298
* @see <a href="http://reactivex.io/documentation/operators/timer.html">ReactiveX operators documentation: Timer</a>
32993299
*/
33003300
@SchedulerSupport(SchedulerSupport.COMPUTATION)
@@ -3303,7 +3303,7 @@ public static Observable<Long> timer(long delay, TimeUnit unit) {
33033303
}
33043304

33053305
/**
3306-
* Returns an Observable that emits one item after a specified delay, on a specified Scheduler, and then
3306+
* Returns an Observable that emits {@code 0L} after a specified delay, on a specified Scheduler, and then
33073307
* completes.
33083308
* <p>
33093309
* <img width="640" height="200" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/timer.s.png" alt="">
@@ -3318,7 +3318,7 @@ public static Observable<Long> timer(long delay, TimeUnit unit) {
33183318
* time units to use for {@code delay}
33193319
* @param scheduler
33203320
* the {@link Scheduler} to use for scheduling the item
3321-
* @return an Observable that emits one item after a specified delay, on a specified Scheduler, and then
3321+
* @return an Observable that emits {@code 0L} after a specified delay, on a specified Scheduler, and then
33223322
* completes
33233323
* @see <a href="http://reactivex.io/documentation/operators/timer.html">ReactiveX operators documentation: Timer</a>
33243324
*/

0 commit comments

Comments
 (0)