(capped-exponential-backoff base max-backoff max-retries)Returns a function of the num-retries (so far), which returns the lesser of max-backoff and an exponentially increasing multiple of base, or nil when (>= num-retries max-retries). See with-retry to see how it is used.
Alpha. Subject to change.
Returns a function of the num-retries (so far), which returns the lesser of max-backoff and an exponentially increasing multiple of base, or nil when (>= num-retries max-retries). See with-retry to see how it is used. Alpha. Subject to change.
Returns (capped-exponential-backoff 100 20000 3).
Alpha. Subject to change.
Returns (capped-exponential-backoff 100 20000 3). Alpha. Subject to change.
A fn of http-response which returns true if http-response contains a cognitect.anomalies/category of :cognitect.anomalies/busy or :cognitect.anomalies/unavailable
Alpha. Subject to change.
A fn of http-response which returns true if http-response contains a cognitect.anomalies/category of :cognitect.anomalies/busy or :cognitect.anomalies/unavailable Alpha. Subject to change.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |