Comments (2)
The introduction section of the README has an example of this:
val retryTimeouts: RetryPolicy<Throwable> = {
if (reason is SQLDataException) ContinueRetrying else StopRetrying
}
from kotlin-retry.
Great, thanks!
from kotlin-retry.
Related Issues (17)
- Publishing library to Jcenter HOT 7
- Full jitter backoff policy may lead to IllegalArgumentException HOT 4
- Make project a multiplattform library HOT 2
- There is no filter function to retry only specific exceptions HOT 1
- New version with retryIf HOT 3
- Graalvm incompatibility (easily fixed) HOT 1
- retryResult signature makes it easy to use wrong context HOT 7
- Retry logic needs to have a way for the call to participate in adjusting the retry. HOT 1
- RetryPolicy creation is order dependent HOT 2
- Filter retry by multiple exception types HOT 2
- Kotlin multiplatform support? HOT 5
- Expose coroutine scope in retry HOT 4
- Is throwing from a RetryPolicy supported? HOT 1
- Is it possible to log out a line on retry? HOT 7
- Making it possible to log retry attemps HOT 1
- Call retry with a non-Throwable RetryPolicy HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotlin-retry.