src/main/java/io/reactivex/Completable.java
@CheckReturnValue
    @SchedulerSupport(SchedulerSupport.CUSTOM)
    public final Completable timeout(long timeout, TimeUnit unit, Scheduler scheduler) {
        return timeout0(timeout, unit, scheduler, null);
    }
@CheckReturnValue
    @SchedulerSupport(SchedulerSupport.CUSTOM)
    public final Completable timeout(long timeout, TimeUnit unit, Scheduler scheduler) {
        return timeout0(timeout, unit, scheduler, null);
    }
@ CheckReturnValue @ SchedulerSupport ( SchedulerSupport . CUSTOM ) public final Completable timeout ( long timeout , TimeUnit unit , Scheduler scheduler ) { return timeout0 ( timeout , unit , scheduler , null ) ; }
Returns a Completable that runs this Completable and emits a TimeoutException in case
this Completable doesn't complete within the given time while "waiting" on the specified
Scheduler.
<p>
<img width="640" height="348" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.timeout.s.png" alt="">
<dl>
<dt><b>Scheduler:</b></dt>
<dd>{@code timeout} signals the TimeoutException on the {@link Scheduler} you specify.</dd>
</dl>
@param timeout the timeout value
@param unit the timeout unit
@param scheduler the scheduler to use to wait for completion
@return the new Completable instance
@throws NullPointerException if unit or scheduler is null
Returns a Completable that runs this Completable and emits a TimeoutException in case this Completable doesn t complete within the given time while waiting on the specified Scheduler . <p > <img width = 640 height = 348 src = https : // raw . github . com / wiki / ReactiveX / RxJava / images / rx - operators / Completable . timeout . s . png alt = > <dl > <dt > <b > Scheduler : < / b > < / dt > <dd > {