(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 is a website building & hosting documentation for Clojure/Script libraries
× close