src/main/java/io/reactivex/Completable.java
@CheckReturnValue
    @SchedulerSupport(SchedulerSupport.NONE)
    public final Completable doOnComplete(Action onComplete) {
        return doOnLifecycle(Functions.emptyConsumer(), Functions.emptyConsumer(),
                onComplete, Functions.EMPTY_ACTION,
                Functions.EMPTY_ACTION, Functions.EMPTY_ACTION);
    }
@CheckReturnValue
    @SchedulerSupport(SchedulerSupport.NONE)
    public final Completable doOnComplete(Action onComplete) {
        return doOnLifecycle(Functions.emptyConsumer(), Functions.emptyConsumer(),
                onComplete, Functions.EMPTY_ACTION,
                Functions.EMPTY_ACTION, Functions.EMPTY_ACTION);
    }
@ CheckReturnValue @ SchedulerSupport ( SchedulerSupport . NONE ) public final Completable doOnComplete ( Action onComplete ) { return doOnLifecycle ( Functions . emptyConsumer ( ) , Functions . emptyConsumer ( ) , onComplete , Functions . EMPTY_ACTION , Functions . EMPTY_ACTION , Functions . EMPTY_ACTION ) ; }
Returns a Completable which calls the given onComplete callback if this Completable completes.
<p>
<img width="640" height="304" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.doOnComplete.png" alt="">
<dl>
<dt><b>Scheduler:</b></dt>
<dd>{@code doOnComplete} does not operate by default on a particular {@link Scheduler}.</dd>
</dl>
@param onComplete the callback to call when this emits an onComplete event
@return the new Completable instance
@throws NullPointerException if onComplete is null
@see #doFinally(Action)
Returns a Completable which calls the given onComplete callback if this Completable completes . <p > <img width = 640 height = 304 src = https : // raw . github . com / wiki / ReactiveX / RxJava / images / rx - operators / Completable . doOnComplete . png alt = > <dl > <dt > <b > Scheduler : < / b > < / dt > <dd > {