Skip to content

Commit

Permalink
Deprecate old
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Sep 26, 2023
1 parent 43aab55 commit 5efc135
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/eithernet.api
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public abstract interface annotation class com/slack/eithernet/ResultType : java
}

public final class com/slack/eithernet/RetriesKt {
public static final fun retryWithExponentialBackoff-3FA4DCs (IJDJDLkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final synthetic fun retryWithExponentialBackoff-3FA4DCs (IJDJDLkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun retryWithExponentialBackoff-3FA4DCs$default (IJDJDLkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public static final fun retryWithExponentialBackoff-3c68mSE (IJDJDLkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun retryWithExponentialBackoff-3c68mSE$default (IJDJDLkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/slack/eithernet/Retries.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import kotlin.time.Duration.Companion.seconds
import kotlin.time.times
import kotlinx.coroutines.delay

/** @see [retryWithExponentialBackoff] for full doc. */
@Suppress("LongParameterList")
@Deprecated("Left for ABI compatibility", level = DeprecationLevel.HIDDEN)
public suspend fun <T : Any, E : Any> retryWithExponentialBackoff(
maxAttempts: Int = 3,
initialDelay: Duration = 500.milliseconds,
Expand Down

0 comments on commit 5efc135

Please sign in to comment.