there isn’t a coroutines standard lib function for retries is there?
s
sikri
11/08/2019, 5:14 PM
No
But for flows there is
g
gildor
11/09/2019, 12:35 AM
stdlib contains just a couple of functions that use coroutines. You probably talking about kotlinx.coroutines. but yeah, answer the same, there is retry for Flow, no standard suspend retry
d
debop
11/10/2019, 12:34 AM
You can use retry for coroutines in resilience4j 1.1.+