src/main/java/io/reactivex/Single.java
@CheckReturnValue
    @SchedulerSupport(SchedulerSupport.COMPUTATION)
    public final Single<T> timeout(long timeout, TimeUnit unit) {
        return timeout0(timeout, unit, Schedulers.computation(), null);
    }
@CheckReturnValue
    @SchedulerSupport(SchedulerSupport.COMPUTATION)
    public final Single<T> timeout(long timeout, TimeUnit unit) {
        return timeout0(timeout, unit, Schedulers.computation(), null);
    }
@ CheckReturnValue @ SchedulerSupport ( SchedulerSupport . COMPUTATION ) public final Single < T > timeout ( long timeout , TimeUnit unit ) { return timeout0 ( timeout , unit , Schedulers . computation ( ) , null ) ; }
Signals a TimeoutException if the current Single doesn't signal a success value within the
specified timeout window.
<dl>
<dt><b>Scheduler:</b></dt>
<dd>{@code timeout} signals the TimeoutException on the {@code computation} {@link Scheduler}.</dd>
</dl>
@param timeout the timeout amount
@param unit the time unit
@return the new Single instance
@since 2.0
Signals a TimeoutException if the current Single doesn t signal a success value within the specified timeout window . <dl > <dt > <b > Scheduler : < / b > < / dt > <dd > {