retryOrElse
inline suspend fun <E : Throwable, Input, Output> Schedule<E, Output>.retryOrElse(noinline action: suspend () -> Input, noinline orElse: suspend (Throwable, Output) -> Input): Input
suspend fun <E : Throwable, Input, Output> Schedule<E, Output>.retryOrElse(exceptionClass: KClass<E>, action: suspend () -> Input, orElse: suspend (E, Output) -> Input): Input
Retries action using any E that occurred as the input to the Schedule. If the Schedule is exhausted, it will invoke orElse with the last exception and the output of the Schedule to produce a fallback Input value.