Skip to content

2.0.1

Latest
Compare
Choose a tag to compare
@michaelbull michaelbull released this 11 Apr 17:33
· 3 commits to master since this release

This release introduces the kotlin-retry-result subproject, leveraging the Result<V, E> type from kotlin-result for code that must be retried but returns an Err instead of throwing an Exception.

See the README section for a full example.

To install the new extension library:

repositories {
    mavenCentral()
}

dependencies {
    implementation("com.michael-bull.kotlin-retry:kotlin-retry:2.0.1")
    implementation("com.michael-bull.kotlin-retry:kotlin-retry-result:2.0.1")
}