From 10ad0ba802ca022f681e274fcba4411eaeab2b3f Mon Sep 17 00:00:00 2001 From: mvdorian Date: Sat, 28 Dec 2024 12:04:55 +0200 Subject: [PATCH] fix(docs): move retry text block under retry code example This paragraph seemed out of place so I moved it under the retry code example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e05a039..f0a9aae9 100644 --- a/README.md +++ b/README.md @@ -318,6 +318,7 @@ val apiResponse = runAndRetry(retryPolicy) { attempt, reason -> // Handle failure cases } ``` +This setup allows you to define a retry policy that determines whether a retry attempt should occur and specifies the retry timeout. The `runAndRetry` extension then encapsulates the execution logic, applying the defined policy, and providing the response in a clean and structured manner. ### Sequential @@ -583,7 +584,6 @@ public class NetworkInitializer : Initializer { } ``` -This setup allows you to define a retry policy that determines whether a retry attempt should occur and specifies the retry timeout. The `runAndRetry` extension then encapsulates the execution logic, applying the defined policy, and providing the response in a clean and structured manner. ## Find this library useful? :heart: Support it by joining __[stargazers](https://github.com/skydoves/sandwich/stargazers)__ for this repository. :star: