retryOrElse
suspend fun <Input, Output> Schedule<Throwable, Output>.retryOrElse(action: suspend () -> Input, orElse: suspend (Throwable, Output) -> Input): Input(source)
Retries action using any Throwable 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.