HI Team, Is `retry` function available in `Schedul...
# arrow
s
HI Team, Is
retry
function available in
Schedule
on version
1.0.0
? We are stuck at version
1.0.0
because of this issue and I am not finding
retry
s
Hey @seetha, Sorry for the late reply. Are you using
1.0.1-jvm
for Maven, or
1.0.0
without
-jvm
?
1.0.1
and
1.0.0
are identical and only made some changing to publishing in an attempt to fix some MPP issues, which is where broke Maven support..
retry
is available as a method on
Schedule
now since
repeat/retry
was conflicting with
kotlin.repeat
. https://arrow-kt.io/docs/apidocs/arrow-fx-coroutines/arrow.fx.coroutines/-schedule/repeat.html https://arrow-kt.io/docs/apidocs/arrow-fx-coroutines/arrow.fx.coroutines/-schedule/
s
Thanks for getting back @simon.vergauwen! We are using
1.0.0
and I don't see
1.0.1-jvm
in maven central repo. I see repeat in 1.0.0 but not retry!
🤔 1
s
Oh, what type is your
Schedule
?
repeat
requires
Schedule<Throwable, B>
since the
Input
to retry is a failure, if there is no
Throwable
then the function succeeded.
Can you share a snippt?