├── .editorconfig ├── .gitattributes ├── .github └── workflows │ └── ci.yaml ├── .gitignore ├── LICENSE ├── README.md ├── gradle.properties ├── gradle ├── libs.versions.toml └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── kotlin-js-store └── yarn.lock ├── kotlin-retry-result ├── build.gradle.kts └── src │ ├── commonMain │ └── kotlin │ │ └── com │ │ └── github │ │ └── michaelbull │ │ └── retry │ │ └── result │ │ ├── Retry.kt │ │ └── RunRetrying.kt │ └── commonTest │ └── kotlin │ └── com │ └── github │ └── michaelbull │ └── retry │ └── result │ └── RetryTest.kt ├── kotlin-retry ├── build.gradle.kts └── src │ ├── commonMain │ └── kotlin │ │ └── com │ │ └── github │ │ └── michaelbull │ │ └── retry │ │ ├── Math.kt │ │ ├── Retry.kt │ │ ├── RunRetrying.kt │ │ ├── attempt │ │ ├── Attempt.kt │ │ └── FailedAttempt.kt │ │ ├── instruction │ │ ├── ContinueRetrying.kt │ │ ├── RetryAfter.kt │ │ ├── RetryInstruction.kt │ │ └── StopRetrying.kt │ │ └── policy │ │ ├── Backoff.kt │ │ ├── Delay.kt │ │ ├── Predicate.kt │ │ ├── RetryPolicy.kt │ │ └── Stop.kt │ ├── commonTest │ └── kotlin │ │ └── com │ │ └── github │ │ └── michaelbull │ │ └── retry │ │ ├── RetryTest.kt │ │ └── policy │ │ ├── BackoffTest.kt │ │ ├── DelayTest.kt │ │ ├── PredicateTest.kt │ │ └── StopTest.kt │ └── jvmTest │ └── kotlin │ └── com │ └── github │ └── michaelbull │ └── retry │ └── DispatcherTest.kt └── settings.gradle.kts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.bat text eol=crlf 2 | -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/README.md -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/libs.versions.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/gradle/libs.versions.toml -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/gradlew.bat -------------------------------------------------------------------------------- /kotlin-js-store/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-js-store/yarn.lock -------------------------------------------------------------------------------- /kotlin-retry-result/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry-result/build.gradle.kts -------------------------------------------------------------------------------- /kotlin-retry-result/src/commonMain/kotlin/com/github/michaelbull/retry/result/Retry.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry-result/src/commonMain/kotlin/com/github/michaelbull/retry/result/Retry.kt -------------------------------------------------------------------------------- /kotlin-retry-result/src/commonMain/kotlin/com/github/michaelbull/retry/result/RunRetrying.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry-result/src/commonMain/kotlin/com/github/michaelbull/retry/result/RunRetrying.kt -------------------------------------------------------------------------------- /kotlin-retry-result/src/commonTest/kotlin/com/github/michaelbull/retry/result/RetryTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry-result/src/commonTest/kotlin/com/github/michaelbull/retry/result/RetryTest.kt -------------------------------------------------------------------------------- /kotlin-retry/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/build.gradle.kts -------------------------------------------------------------------------------- /kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/Math.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/Math.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/Retry.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/Retry.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/RunRetrying.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/RunRetrying.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/attempt/Attempt.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/attempt/Attempt.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/attempt/FailedAttempt.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/attempt/FailedAttempt.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/instruction/ContinueRetrying.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/instruction/ContinueRetrying.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/instruction/RetryAfter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/instruction/RetryAfter.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/instruction/RetryInstruction.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/instruction/RetryInstruction.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/instruction/StopRetrying.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/instruction/StopRetrying.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/policy/Backoff.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/policy/Backoff.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/policy/Delay.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/policy/Delay.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/policy/Predicate.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/policy/Predicate.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/policy/RetryPolicy.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/policy/RetryPolicy.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/policy/Stop.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonMain/kotlin/com/github/michaelbull/retry/policy/Stop.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonTest/kotlin/com/github/michaelbull/retry/RetryTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonTest/kotlin/com/github/michaelbull/retry/RetryTest.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonTest/kotlin/com/github/michaelbull/retry/policy/BackoffTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonTest/kotlin/com/github/michaelbull/retry/policy/BackoffTest.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonTest/kotlin/com/github/michaelbull/retry/policy/DelayTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonTest/kotlin/com/github/michaelbull/retry/policy/DelayTest.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonTest/kotlin/com/github/michaelbull/retry/policy/PredicateTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonTest/kotlin/com/github/michaelbull/retry/policy/PredicateTest.kt -------------------------------------------------------------------------------- /kotlin-retry/src/commonTest/kotlin/com/github/michaelbull/retry/policy/StopTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/commonTest/kotlin/com/github/michaelbull/retry/policy/StopTest.kt -------------------------------------------------------------------------------- /kotlin-retry/src/jvmTest/kotlin/com/github/michaelbull/retry/DispatcherTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/kotlin-retry/src/jvmTest/kotlin/com/github/michaelbull/retry/DispatcherTest.kt -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/kotlin-retry/HEAD/settings.gradle.kts --------------------------------------------------------------------------------