MCPcopy Index your code
hub / github.com/ReactiveX/RxJava / retryUntil

Method retryUntil

src/main/java/io/reactivex/rxjava3/core/Maybe.java:4980–4986  ·  view source on GitHub ↗

Retries until the given stop function returns true. Scheduler: retryUntil does not operate by default on a particular {@lin

(@NonNull BooleanSupplier stop)

Source from the content-addressed store, hash-verified

4978 * @throws NullPointerException if {@code stop} is {@code null}
4979 */
4980 @CheckReturnValue
4981 @NonNull
4982 @SchedulerSupport(SchedulerSupport.NONE)
4983 public final Maybe<T> retryUntil(@NonNull BooleanSupplier stop) {
4984 Objects.requireNonNull(stop, "stop is null");
4985 return retry(Long.MAX_VALUE, Functions.predicateReverseFor(stop));
4986 }
4987
4988 /**
4989 * Returns a {@code Maybe} that emits the same values as the current {@code Maybe} with the exception of an

Callers

nothing calls this directly

Calls 2

retryMethod · 0.95
predicateReverseForMethod · 0.95

Tested by

no test coverage detected