src/main/java/io/reactivex/Completable.java
@CheckReturnValue
    @SchedulerSupport(SchedulerSupport.NONE)
    public final Completable doAfterTerminate(final Action onAfterTerminate) {
        return doOnLifecycle(
                Functions.emptyConsumer(),
                Functions.emptyConsumer(),
                Functions.EMPTY_ACTION,
                Functions.EMPTY_ACTION,
                onAfterTerminate,
                Functions.EMPTY_ACTION);
    }
@CheckReturnValue
    @SchedulerSupport(SchedulerSupport.NONE)
    public final Completable doAfterTerminate(final Action onAfterTerminate) {
        return doOnLifecycle(
                Functions.emptyConsumer(),
                Functions.emptyConsumer(),
                Functions.EMPTY_ACTION,
                Functions.EMPTY_ACTION,
                onAfterTerminate,
                Functions.EMPTY_ACTION);
    }
@ CheckReturnValue @ SchedulerSupport ( SchedulerSupport . NONE ) public final Completable doAfterTerminate ( final Action onAfterTerminate ) { return doOnLifecycle ( Functions . emptyConsumer ( ) , Functions . emptyConsumer ( ) , Functions . EMPTY_ACTION , Functions . EMPTY_ACTION , onAfterTerminate , Functions . EMPTY_ACTION ) ; }
Returns a Completable instance that calls the given onTerminate callback after this Completable
completes normally or with an exception.
<p>
<img width="640" height="304" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.doAfterTerminate.png" alt="">
<dl>
<dt><b>Scheduler:</b></dt>
<dd>{@code doAfterTerminate} does not operate by default on a particular {@link Scheduler}.</dd>
</dl>
@param onAfterTerminate the callback to call after this Completable terminates
@return the new Completable instance
@see #doFinally(Action)
Returns a Completable instance that calls the given onTerminate callback after this Completable completes normally or with an exception . <p > <img width = 640 height = 304 src = https : // raw . github . com / wiki / ReactiveX / RxJava / images / rx - operators / Completable . doAfterTerminate . png alt = > <dl > <dt > <b > Scheduler : < / b > < / dt > <dd > {