@@ -1283,6 +1283,8 @@ public final Completable compose(CompletableTransformer transformer) {
1283
1283
1284
1284
/**
1285
1285
* Concatenates this Completable with another Completable.
1286
+ * <p>
1287
+ * <img width="640" height="317" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.concatWith.png" alt="">
1286
1288
* <dl>
1287
1289
* <dt><b>Scheduler:</b></dt>
1288
1290
* <dd>{@code concatWith} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1304,6 +1306,8 @@ public final Completable concatWith(CompletableSource other) {
1304
1306
1305
1307
/**
1306
1308
* Returns a Completable which delays the emission of the completion event by the given time.
1309
+ * <p>
1310
+ * <img width="640" height="343" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.delay.png" alt="">
1307
1311
* <dl>
1308
1312
* <dt><b>Scheduler:</b></dt>
1309
1313
* <dd>{@code delay} does operate by default on the {@code computation} {@link Scheduler}.</dd>
@@ -1322,6 +1326,8 @@ public final Completable delay(long delay, TimeUnit unit) {
1322
1326
/**
1323
1327
* Returns a Completable which delays the emission of the completion event by the given time while
1324
1328
* running on the specified scheduler.
1329
+ * <p>
1330
+ * <img width="640" height="313" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.delay.s.png" alt="">
1325
1331
* <dl>
1326
1332
* <dt><b>Scheduler:</b></dt>
1327
1333
* <dd>{@code delay} operates on the {@link Scheduler} you specify.</dd>
@@ -1341,6 +1347,8 @@ public final Completable delay(long delay, TimeUnit unit, Scheduler scheduler) {
1341
1347
/**
1342
1348
* Returns a Completable which delays the emission of the completion event, and optionally the error as well, by the given time while
1343
1349
* running on the specified scheduler.
1350
+ * <p>
1351
+ * <img width="640" height="253" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.delay.sb.png" alt="">
1344
1352
* <dl>
1345
1353
* <dt><b>Scheduler:</b></dt>
1346
1354
* <dd>{@code delay} operates on the {@link Scheduler} you specify.</dd>
@@ -1362,6 +1370,8 @@ public final Completable delay(final long delay, final TimeUnit unit, final Sche
1362
1370
1363
1371
/**
1364
1372
* Returns a Completable which calls the given onComplete callback if this Completable completes.
1373
+ * <p>
1374
+ * <img width="640" height="304" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.doOnComplete.png" alt="">
1365
1375
* <dl>
1366
1376
* <dt><b>Scheduler:</b></dt>
1367
1377
* <dd>{@code doOnComplete} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1382,6 +1392,8 @@ public final Completable doOnComplete(Action onComplete) {
1382
1392
/**
1383
1393
* Calls the shared {@code Action} if a CompletableObserver subscribed to the current
1384
1394
* Completable disposes the common Disposable it received via onSubscribe.
1395
+ * <p>
1396
+ * <img width="640" height="589" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.doOnDispose.png" alt="">
1385
1397
* <dl>
1386
1398
* <dt><b>Scheduler:</b></dt>
1387
1399
* <dd>{@code doOnDispose} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1400,6 +1412,8 @@ public final Completable doOnDispose(Action onDispose) {
1400
1412
1401
1413
/**
1402
1414
* Returns a Completable which calls the given onError callback if this Completable emits an error.
1415
+ * <p>
1416
+ * <img width="640" height="304" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.doOnError.png" alt="">
1403
1417
* <dl>
1404
1418
* <dt><b>Scheduler:</b></dt>
1405
1419
* <dd>{@code doOnError} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1420,6 +1434,8 @@ public final Completable doOnError(Consumer<? super Throwable> onError) {
1420
1434
/**
1421
1435
* Returns a Completable which calls the given onEvent callback with the (throwable) for an onError
1422
1436
* or (null) for an onComplete signal from this Completable before delivering said signal to the downstream.
1437
+ * <p>
1438
+ * <img width="640" height="305" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.doOnEvent.png" alt="">
1423
1439
* <dl>
1424
1440
* <dt><b>Scheduler:</b></dt>
1425
1441
* <dd>{@code doOnEvent} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1470,6 +1486,8 @@ private Completable doOnLifecycle(
1470
1486
/**
1471
1487
* Returns a Completable instance that calls the given onSubscribe callback with the disposable
1472
1488
* that child subscribers receive on subscription.
1489
+ * <p>
1490
+ * <img width="640" height="304" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.doOnSubscribe.png" alt="">
1473
1491
* <dl>
1474
1492
* <dt><b>Scheduler:</b></dt>
1475
1493
* <dd>{@code doOnSubscribe} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1489,6 +1507,8 @@ public final Completable doOnSubscribe(Consumer<? super Disposable> onSubscribe)
1489
1507
/**
1490
1508
* Returns a Completable instance that calls the given onTerminate callback just before this Completable
1491
1509
* completes normally or with an exception.
1510
+ * <p>
1511
+ * <img width="640" height="304" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.doOnTerminate.png" alt="">
1492
1512
* <dl>
1493
1513
* <dt><b>Scheduler:</b></dt>
1494
1514
* <dd>{@code doOnTerminate} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1508,6 +1528,8 @@ public final Completable doOnTerminate(final Action onTerminate) {
1508
1528
/**
1509
1529
* Returns a Completable instance that calls the given onTerminate callback after this Completable
1510
1530
* completes normally or with an exception.
1531
+ * <p>
1532
+ * <img width="640" height="304" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.doAfterTerminate.png" alt="">
1511
1533
* <dl>
1512
1534
* <dt><b>Scheduler:</b></dt>
1513
1535
* <dd>{@code doAfterTerminate} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1530,9 +1552,13 @@ public final Completable doAfterTerminate(final Action onAfterTerminate) {
1530
1552
/**
1531
1553
* Calls the specified action after this Completable signals onError or onComplete or gets disposed by
1532
1554
* the downstream.
1533
- * <p>In case of a race between a terminal event and a dispose call, the provided {@code onFinally} action
1555
+ * <p>
1556
+ * <img width="640" height="331" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.doFinally.png" alt="">
1557
+ * <p>
1558
+ * In case of a race between a terminal event and a dispose call, the provided {@code onFinally} action
1534
1559
* is executed once per subscription.
1535
- * <p>Note that the {@code onFinally} action is shared between subscriptions and as such
1560
+ * <p>
1561
+ * Note that the {@code onFinally} action is shared between subscriptions and as such
1536
1562
* should be thread-safe.
1537
1563
* <dl>
1538
1564
* <dt><b>Scheduler:</b></dt>
@@ -1688,6 +1714,8 @@ public final Completable lift(final CompletableOperator onLift) {
1688
1714
/**
1689
1715
* Returns a Completable which subscribes to this and the other Completable and completes
1690
1716
* when both of them complete or one emits an error.
1717
+ * <p>
1718
+ * <img width="640" height="442" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.mergeWith.png" alt="">
1691
1719
* <dl>
1692
1720
* <dt><b>Scheduler:</b></dt>
1693
1721
* <dd>{@code mergeWith} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1705,6 +1733,8 @@ public final Completable mergeWith(CompletableSource other) {
1705
1733
1706
1734
/**
1707
1735
* Returns a Completable which emits the terminal events from the thread of the specified scheduler.
1736
+ * <p>
1737
+ * <img width="640" height="523" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.observeOn.png" alt="">
1708
1738
* <dl>
1709
1739
* <dt><b>Scheduler:</b></dt>
1710
1740
* <dd>{@code observeOn} operates on a {@link Scheduler} you specify.</dd>
@@ -1723,6 +1753,8 @@ public final Completable observeOn(final Scheduler scheduler) {
1723
1753
/**
1724
1754
* Returns a Completable instance that if this Completable emits an error, it will emit an onComplete
1725
1755
* and swallow the throwable.
1756
+ * <p>
1757
+ * <img width="640" height="585" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.onErrorComplete.png" alt="">
1726
1758
* <dl>
1727
1759
* <dt><b>Scheduler:</b></dt>
1728
1760
* <dd>{@code onErrorComplete} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1738,6 +1770,8 @@ public final Completable onErrorComplete() {
1738
1770
/**
1739
1771
* Returns a Completable instance that if this Completable emits an error and the predicate returns
1740
1772
* true, it will emit an onComplete and swallow the throwable.
1773
+ * <p>
1774
+ * <img width="640" height="283" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.onErrorComplete.f.png" alt="">
1741
1775
* <dl>
1742
1776
* <dt><b>Scheduler:</b></dt>
1743
1777
* <dd>{@code onErrorComplete} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1758,6 +1792,8 @@ public final Completable onErrorComplete(final Predicate<? super Throwable> pred
1758
1792
* Returns a Completable instance that when encounters an error from this Completable, calls the
1759
1793
* specified mapper function that returns another Completable instance for it and resumes the
1760
1794
* execution with it.
1795
+ * <p>
1796
+ * <img width="640" height="426" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.onErrorResumeNext.png" alt="">
1761
1797
* <dl>
1762
1798
* <dt><b>Scheduler:</b></dt>
1763
1799
* <dd>{@code onErrorResumeNext} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1776,6 +1812,8 @@ public final Completable onErrorResumeNext(final Function<? super Throwable, ? e
1776
1812
/**
1777
1813
* Nulls out references to the upstream producer and downstream CompletableObserver if
1778
1814
* the sequence is terminated or downstream calls dispose().
1815
+ * <p>
1816
+ * <img width="640" height="326" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.onTerminateDetach.png" alt="">
1779
1817
* <dl>
1780
1818
* <dt><b>Scheduler:</b></dt>
1781
1819
* <dd>{@code onTerminateDetach} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -2050,8 +2088,10 @@ public final <T> Flowable<T> startWith(Publisher<T> other) {
2050
2088
2051
2089
/**
2052
2090
* Hides the identity of this Completable and its Disposable.
2053
- * <p>Allows preventing certain identity-based
2054
- * optimizations (fusion).
2091
+ * <p>
2092
+ * <img width="640" height="432" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.hide.png" alt="">
2093
+ * <p>
2094
+ * Allows preventing certain identity-based optimizations (fusion).
2055
2095
* <dl>
2056
2096
* <dt><b>Scheduler:</b></dt>
2057
2097
* <dd>{@code hide} does not operate by default on a particular {@link Scheduler}.</dd>
0 commit comments