Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evolution-gaming/retry
Library for retrying failed calls
https://github.com/evolution-gaming/retry
cats cats-effect retry scala
Last synced: about 1 month 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 (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-18T09:41:38.000Z (6 months ago)
- Last Synced: 2024-07-18T12:10:33.435Z (6 months ago)
- Topics: cats, cats-effect, retry, scala
- Language: Scala
- Size: 141 KB
- Stars: 5
- Watchers: 11
- Forks: 4
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Retry
[![Build Status](https://github.com/evolution-gaming/retry/workflows/CI/badge.svg)](https://github.com/evolution-gaming/retry/actions?query=workflow%3ACI)
[![Coverage Status](https://coveralls.io/repos/evolution-gaming/retry/badge.svg)](https://coveralls.io/r/evolution-gaming/retry)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/a4f92715e90142fd894fbb1f6daf698d)](https://www.codacy.com/app/evolution-gaming/retry?utm_source=github.com&utm_medium=referral&utm_content=evolution-gaming/retry&utm_campaign=Badge_Grade)
[![Version](https://img.shields.io/badge/version-click-blue)](https://evolution.jfrog.io/artifactory/api/search/latestVersion?g=com.evolutiongaming&a=retry_2.13&repos=public)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellowgreen.svg)](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" % "2.0.0"
```