timeout

fun <T> Maybe<T>.timeout(timeout: Duration, scheduler: Scheduler, other: Maybe<T>? = null): Maybe<T>

Disposes the current Maybe if it does not signal within the timeout, and subscribes to other if provided.

Please refer to the corresponding RxJava document.