arrow-fx-coroutines / arrow.fx.coroutines / kotlinx.coroutines.flow.Flow / retry
fun <A, B> Flow<A>.retry(schedule:
Schedule
<
Throwable
, B>): Flow<A>
Retries collection of the given flow when an exception occurs in the upstream flow based on a decision by the schedule. This operator is transparent to exceptions that occur in downstream flow and does not retry on exceptions that are thrown to cancel the flow.
schedule
-
See Also
Do you like Arrow?
✖