Interface IntervalBiFunction<T>

All Superinterfaces:
java.util.function.BiFunction<java.lang.Integer,​io.vavr.control.Either<java.lang.Throwable,​T>,​java.lang.Long>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface IntervalBiFunction<T>
extends java.util.function.BiFunction<java.lang.Integer,​io.vavr.control.Either<java.lang.Throwable,​T>,​java.lang.Long>
An IntervalBiFunction which can be used to calculate the wait interval. The input parameters of the bi function is the number of attempts (attempt) and either result or exception, the output parameter is the wait interval in milliseconds. The attempt parameter starts at 1 and increases with every further attempt.