@@ -7297,6 +7297,14 @@ public final Single<Long> count() {
7297
7297
* source ObservableSource that are followed by another item within a computed debounce duration.
7298
7298
* <p>
7299
7299
* <img width="640" height="425" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/debounce.f.png" alt="">
7300
+ * <p>
7301
+ * The delivery of the item happens on the thread of the first {@code onNext} or {@code onComplete}
7302
+ * signal of the generated {@code ObservableSource} sequence,
7303
+ * which if takes too long, a newer item may arrive from the upstream, causing the
7304
+ * generated sequence to get disposed, which may also interrupt any downstream blocking operation
7305
+ * (yielding an {@code InterruptedException}). It is recommended processing items
7306
+ * that may take long time to be moved to another thread via {@link #observeOn} applied after
7307
+ * {@code debounce} itself.
7300
7308
* <dl>
7301
7309
* <dt><b>Scheduler:</b></dt>
7302
7310
* <dd>This version of {@code debounce} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -7326,6 +7334,13 @@ public final <U> Observable<T> debounce(Function<? super T, ? extends Observable
7326
7334
* will be emitted by the resulting ObservableSource.
7327
7335
* <p>
7328
7336
* <img width="640" height="310" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/debounce.png" alt="">
7337
+ * <p>
7338
+ * Delivery of the item after the grace period happens on the {@code computation} {@code Scheduler}'s
7339
+ * {@code Worker} which if takes too long, a newer item may arrive from the upstream, causing the
7340
+ * {@code Worker}'s task to get disposed, which may also interrupt any downstream blocking operation
7341
+ * (yielding an {@code InterruptedException}). It is recommended processing items
7342
+ * that may take long time to be moved to another thread via {@link #observeOn} applied after
7343
+ * {@code debounce} itself.
7329
7344
* <dl>
7330
7345
* <dt><b>Scheduler:</b></dt>
7331
7346
* <dd>{@code debounce} operates by default on the {@code computation} {@link Scheduler}.</dd>
@@ -7357,6 +7372,13 @@ public final Observable<T> debounce(long timeout, TimeUnit unit) {
7357
7372
* will be emitted by the resulting ObservableSource.
7358
7373
* <p>
7359
7374
* <img width="640" height="310" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/debounce.s.png" alt="">
7375
+ * <p>
7376
+ * Delivery of the item after the grace period happens on the given {@code Scheduler}'s
7377
+ * {@code Worker} which if takes too long, a newer item may arrive from the upstream, causing the
7378
+ * {@code Worker}'s task to get disposed, which may also interrupt any downstream blocking operation
7379
+ * (yielding an {@code InterruptedException}). It is recommended processing items
7380
+ * that may take long time to be moved to another thread via {@link #observeOn} applied after
7381
+ * {@code debounce} itself.
7360
7382
* <dl>
7361
7383
* <dt><b>Scheduler:</b></dt>
7362
7384
* <dd>You specify which {@link Scheduler} this operator will use.</dd>
0 commit comments