Retries until the given stop function returns true. Scheduler: retryUntil does not operate by default on a particular {@li
(@NonNull BooleanSupplier stop)
| 4484 | * @since 3.0.0 |
| 4485 | */ |
| 4486 | @CheckReturnValue |
| 4487 | @NonNull |
| 4488 | @SchedulerSupport(SchedulerSupport.NONE) |
| 4489 | public final Single<T> retryUntil(@NonNull BooleanSupplier stop) { |
| 4490 | Objects.requireNonNull(stop, "stop is null"); |
| 4491 | return retry(Long.MAX_VALUE, Functions.predicateReverseFor(stop)); |
| 4492 | } |
| 4493 | |
| 4494 | /** |
| 4495 | * Re-subscribes to the current {@code Single} if and when the {@link Publisher} returned by the handler |
nothing calls this directly
no test coverage detected