You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this comes from a co-worker, I suggested Retry to.
in his case, we had a simple Flow[A,Future[B]],
which can easily be turned to Flow[A,Try[B]], using something like:
to enable recovery attempts when needed.
not sure about this though... since it could be handled with the more basic existing API,
and it's reasonable to assume betweenRetries will make the call "boilerplaty" anyway...
Thoughts?
The text was updated successfully, but these errors were encountered:
this comes from a co-worker, I suggested
Retry
to.in his case, we had a simple
Flow[A,Future[B]]
,which can easily be turned to
Flow[A,Try[B]]
, using something like:but in order to do something simple like retrying at most 5 times,
we had to come up with:
well, that's a lot of boilerplate...
So, I thought I could add something like
Retry.simple(flow,retries)
which will do exactly what we did.And maybe also something like:
to enable recovery attempts when needed.
not sure about this though... since it could be handled with the more basic existing API,
and it's reasonable to assume
betweenRetries
will make the call "boilerplaty" anyway...Thoughts?
The text was updated successfully, but these errors were encountered: