radekm
10/06/2020, 11:18 AMIO
code
val func = IO {
println("some effect")
}
func.retry(arrow.fx.Schedule.recurs(IO.monad(), 3))
into coroutines but I can't find retry
function which works on suspend () -> Unit
. Does it exist or what's the alternative? Thankssimon.vergauwen
10/06/2020, 11:21 AMMarius Kotsbak
10/06/2020, 11:40 AMsimon.vergauwen
10/06/2020, 11:44 AMSchedule
. https://arrow-kt.io/docs/apidocs/arrow-fx-coroutines/arrow.fx.coroutines/-schedule/index.html