Represents a predicate function that produces a Boolean for a given Result, retry count Int, and elapsed time Duration.
Used by on and until for creating custom RetryPredicates
1.0.0