arrow-fx-coroutines / arrow.fx.coroutines / repeatOrElseEither
suspend fun <A, B, C> ~~repeatOrElseEither~~(schedule:
Schedule
<A, B>, fa: suspend () -> A, orElse: suspend (
Throwable
, B?) -> C): Either<C, B>
Deprecated: repeat has become a concrete method on Schedule
Runs this effect once and, if it succeeded, decide using the provided policy if the effect should be repeated and if so, with how much delay. Also offers a function to handle errors if they are encountered during repetition.
Do you like Arrow?
✖