Stubborn
Stubborn: having or showing dogged determination not to change one's attitude or position on something.
A scala library for performing retries on actions that might fail.
This project is migrated from https://github.com/krux/stubborn. Please refer to that repo for commit histories prior to 3.0.0.
Configuration
Add the Sonatype.org Releases repo as a resolver in your build.sbt
or Build.scala
as appropriate.
Add stubborn as a dependency in your build.sbt
or Build.scala
as appropriate.
libraryDependencies ++= Seq(
// Other dependencies ...
"com.krux" %% "stubborn" % "3.0.1"
)
Scala Versions
This project is compiled, tested, and published for the following Scala versions:
- 2.13.x
- 2.12.x
Usage
See examples in examples
directory.