retry
fun <T> Maybe<T>.retry(predicate: (attempt: Long, Throwable) -> Boolean = { _, _ -> true }): Maybe<T>
When the Maybe signals onError, re-subscribes to the Maybe if the predicate returns true.
Please refer to the corresponding RxJava document.
When the Maybe signals onError, re-subscribes to the Maybe, up to times times.
Please refer to the corresponding RxJava document.