kotlin-retry icon indicating copy to clipboard operation
kotlin-retry copied to clipboard

A multiplatform higher-order function for retrying operations that may fail.

Results 3 kotlin-retry issues
Sort by recently updated
recently updated
newest added

It seems that issue #4 was closed, but I have also inadvertently run into this situation today with similar code: ``` withTimeout(1000) { retryResult { // This crashes because coroutineContext...

I am using this library with ktor on JVM and really liking it. Thanks for all the work done on this library. Are there any plans to support other kotlin...

This makes it more usable ```kt fun onException(vararg types: KClass): RetryPolicy { return { if (types.any { it.isInstance(reason) }) ContinueRetrying else StopRetrying } } ``` In some cases there is...