krux / stubborn

A Scala library for performing retries on actions that might fail.

GitHub

Stubborn

Build Status Stories in Ready

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.

Configuration

Add the Sonatype.org Releases repo as a resolver in your build.sbt or Build.scala as appropriate.

resolvers += "Sonatype.org Releases" at "https://oss.sonatype.org/content/repositories/releases/"

Add stubborn as a dependency in your build.sbt or Build.scala as appropriate.

libraryDependencies ++= Seq(
  // Other dependencies ...
  "com.krux" %% "stubborn" % "1.3.0"
)

Scala Versions

This project is compiled, tested, and published for the following Scala versions:

  1. 2.12.4
  2. 2.11.12
  3. 2.10.7

Usage

See examples in examples directory.

License

Stubborn is licensed under APL 2.0.