Module mutiny.zero

Class Retry<T>

java.lang.Object
mutiny.zero.operators.Retry<T>
Type Parameters:
T - the elements type
All Implemented Interfaces:
Flow.Publisher<T>

public class Retry<T> extends Object implements Flow.Publisher<T>
A Flow.Publisher that retries on failure by re-subscribing to its upstream. A Predicate controls when to retry, and when to stop retrying.

Note: this retry operator does not perform advanced time-based re-subscriptions (e.g., exponential back-off).