https://github.com/evolution-gaming/retry
Library for retrying failed calls
https://github.com/evolution-gaming/retry
cats cats-effect retry scala
Last synced: 12 days ago
JSON representation
Library for retrying failed calls
- Host: GitHub
- URL: https://github.com/evolution-gaming/retry
- Owner: evolution-gaming
- License: mit
- Created: 2019-03-06T20:29:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-17T12:37:21.000Z (4 months ago)
- Last Synced: 2025-04-23T00:17:01.143Z (3 months ago)
- Topics: cats, cats-effect, retry, scala
- Language: Scala
- Size: 152 KB
- Stars: 5
- Watchers: 11
- Forks: 4
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Retry
[](https://github.com/evolution-gaming/retry/actions?query=workflow%3ACI)
[](https://coveralls.io/r/evolution-gaming/retry)
[](https://app.codacy.com/gh/evolution-gaming/retry/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[](https://evolution.jfrog.io/ui/packages/gav:%2F%2Fcom.evolutiongaming:retry_2.13)
[](https://opensource.org/licenses/MIT)
```scala
import com.evolutiongaming.retry._
import com.evolutiongaming.retry.Retry.implicits._val request: F[String] = ???
val strategy = Strategy
.fibonacci(5.millis)
.cap(200.millis)request.retry(strategy)
```
## Setup
```scala
addSbtPlugin("com.evolution" % "sbt-artifactory-plugin" % "0.0.2")libraryDependencies += "com.evolutiongaming" %% "retry" % "3.1.0"
```