@@ -903,6 +903,8 @@ private static NullPointerException toNpe(Throwable ex) {
903
903
* Returns a Completable instance which manages a resource along
904
904
* with a custom Completable instance while the subscription is active.
905
905
* <p>
906
+ * <img width="640" height="388" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.using.png" alt="">
907
+ * <p>
906
908
* This overload disposes eagerly before the terminal event is emitted.
907
909
* <dl>
908
910
* <dt><b>Scheduler:</b></dt>
@@ -927,6 +929,8 @@ public static <R> Completable using(Callable<R> resourceSupplier,
927
929
* with a custom Completable instance while the subscription is active and performs eager or lazy
928
930
* resource disposition.
929
931
* <p>
932
+ * <img width="640" height="332" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.using.b.png" alt="">
933
+ * <p>
930
934
* If this overload performs a lazy cancellation after the terminal event is emitted.
931
935
* Exceptions thrown at this time will be delivered to RxJavaPlugins only.
932
936
* <dl>
@@ -959,6 +963,8 @@ public static <R> Completable using(
959
963
/**
960
964
* Wraps the given CompletableSource into a Completable
961
965
* if not already Completable.
966
+ * <p>
967
+ * <img width="640" height="354" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.wrap.png" alt="">
962
968
* <dl>
963
969
* <dt><b>Scheduler:</b></dt>
964
970
* <dd>{@code wrap} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -980,6 +986,8 @@ public static Completable wrap(CompletableSource source) {
980
986
/**
981
987
* Returns a Completable that emits the a terminated event of either this Completable
982
988
* or the other Completable whichever fires first.
989
+ * <p>
990
+ * <img width="640" height="484" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.ambWith.png" alt="">
983
991
* <dl>
984
992
* <dt><b>Scheduler:</b></dt>
985
993
* <dd>{@code ambWith} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1001,6 +1009,8 @@ public final Completable ambWith(CompletableSource other) {
1001
1009
* will subscribe to the {@code next} ObservableSource. An error event from this Completable will be
1002
1010
* propagated to the downstream subscriber and will result in skipping the subscription of the
1003
1011
* Observable.
1012
+ * <p>
1013
+ * <img width="640" height="278" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.andThen.o.png" alt="">
1004
1014
* <dl>
1005
1015
* <dt><b>Scheduler:</b></dt>
1006
1016
* <dd>{@code andThen} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1022,6 +1032,8 @@ public final <T> Observable<T> andThen(ObservableSource<T> next) {
1022
1032
* will subscribe to the {@code next} Flowable. An error event from this Completable will be
1023
1033
* propagated to the downstream subscriber and will result in skipping the subscription of the
1024
1034
* Publisher.
1035
+ * <p>
1036
+ * <img width="640" height="249" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.andThen.p.png" alt="">
1025
1037
* <dl>
1026
1038
* <dt><b>Backpressure:</b></dt>
1027
1039
* <dd>The returned {@code Flowable} honors the backpressure of the downstream consumer
@@ -1047,6 +1059,8 @@ public final <T> Flowable<T> andThen(Publisher<T> next) {
1047
1059
* will subscribe to the {@code next} SingleSource. An error event from this Completable will be
1048
1060
* propagated to the downstream subscriber and will result in skipping the subscription of the
1049
1061
* Single.
1062
+ * <p>
1063
+ * <img width="640" height="437" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.andThen.s.png" alt="">
1050
1064
* <dl>
1051
1065
* <dt><b>Scheduler:</b></dt>
1052
1066
* <dd>{@code andThen} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1068,6 +1082,8 @@ public final <T> Single<T> andThen(SingleSource<T> next) {
1068
1082
* will subscribe to the {@code next} MaybeSource. An error event from this Completable will be
1069
1083
* propagated to the downstream subscriber and will result in skipping the subscription of the
1070
1084
* Maybe.
1085
+ * <p>
1086
+ * <img width="640" height="280" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.andThen.m.png" alt="">
1071
1087
* <dl>
1072
1088
* <dt><b>Scheduler:</b></dt>
1073
1089
* <dd>{@code andThen} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1088,6 +1104,8 @@ public final <T> Maybe<T> andThen(MaybeSource<T> next) {
1088
1104
* Returns a Completable that first runs this Completable
1089
1105
* and then the other completable.
1090
1106
* <p>
1107
+ * <img width="640" height="437" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.andThen.c.png" alt="">
1108
+ * <p>
1091
1109
* This is an alias for {@link #concatWith(CompletableSource)}.
1092
1110
* <dl>
1093
1111
* <dt><b>Scheduler:</b></dt>
@@ -1106,6 +1124,8 @@ public final Completable andThen(CompletableSource next) {
1106
1124
/**
1107
1125
* Calls the specified converter function during assembly time and returns its resulting value.
1108
1126
* <p>
1127
+ * <img width="640" height="751" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.as.png" alt="">
1128
+ * <p>
1109
1129
* This allows fluent conversion to any other type.
1110
1130
* <dl>
1111
1131
* <dt><b>Scheduler:</b></dt>
@@ -1128,6 +1148,8 @@ public final <R> R as(@NonNull CompletableConverter<? extends R> converter) {
1128
1148
/**
1129
1149
* Subscribes to and awaits the termination of this Completable instance in a blocking manner and
1130
1150
* rethrows any exception emitted.
1151
+ * <p>
1152
+ * <img width="640" height="432" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.blockingAwait.png" alt="">
1131
1153
* <dl>
1132
1154
* <dt><b>Scheduler:</b></dt>
1133
1155
* <dd>{@code blockingAwait} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1148,6 +1170,8 @@ public final void blockingAwait() {
1148
1170
/**
1149
1171
* Subscribes to and awaits the termination of this Completable instance in a blocking manner
1150
1172
* with a specific timeout and rethrows any exception emitted within the timeout window.
1173
+ * <p>
1174
+ * <img width="640" height="348" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.blockingAwait.t.png" alt="">
1151
1175
* <dl>
1152
1176
* <dt><b>Scheduler:</b></dt>
1153
1177
* <dd>{@code blockingAwait} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1174,6 +1198,8 @@ public final boolean blockingAwait(long timeout, TimeUnit unit) {
1174
1198
/**
1175
1199
* Subscribes to this Completable instance and blocks until it terminates, then returns null or
1176
1200
* the emitted exception if any.
1201
+ * <p>
1202
+ * <img width="640" height="435" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.blockingGet.png" alt="">
1177
1203
* <dl>
1178
1204
* <dt><b>Scheduler:</b></dt>
1179
1205
* <dd>{@code blockingGet} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1192,6 +1218,8 @@ public final Throwable blockingGet() {
1192
1218
/**
1193
1219
* Subscribes to this Completable instance and blocks until it terminates or the specified timeout
1194
1220
* elapses, then returns null for normal termination or the emitted exception if any.
1221
+ * <p>
1222
+ * <img width="640" height="348" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.blockingGet.t.png" alt="">
1195
1223
* <dl>
1196
1224
* <dt><b>Scheduler:</b></dt>
1197
1225
* <dd>{@code blockingGet} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1216,6 +1244,8 @@ public final Throwable blockingGet(long timeout, TimeUnit unit) {
1216
1244
* subscribes to the result Completable, caches its terminal event
1217
1245
* and relays/replays it to observers.
1218
1246
* <p>
1247
+ * <img width="640" height="375" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.cache.png" alt="">
1248
+ * <p>
1219
1249
* Note that this operator doesn't allow disposing the connection
1220
1250
* of the upstream source.
1221
1251
* <dl>
@@ -1235,6 +1265,8 @@ public final Completable cache() {
1235
1265
/**
1236
1266
* Calls the given transformer function with this instance and returns the function's resulting
1237
1267
* Completable.
1268
+ * <p>
1269
+ * <img width="640" height="625" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.compose.png" alt="">
1238
1270
* <dl>
1239
1271
* <dt><b>Scheduler:</b></dt>
1240
1272
* <dd>{@code compose} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -2308,6 +2340,8 @@ private Completable timeout0(long timeout, TimeUnit unit, Scheduler scheduler, C
2308
2340
2309
2341
/**
2310
2342
* Allows fluent conversion to another type via a function callback.
2343
+ * <p>
2344
+ * <img width="640" height="751" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.to.png" alt="">
2311
2345
* <dl>
2312
2346
* <dt><b>Scheduler:</b></dt>
2313
2347
* <dd>{@code to} does not operate by default on a particular {@link Scheduler}.</dd>
0 commit comments