(retry f log-description max-retries delay-ms)
execute a fn repeatedly until it succeeds
execute a fn repeatedly until it succeeds - f - a 0-args function, yielding a promise - max-retries - maximum number of times to re-try f before giving up (if 0 then f will be invoked just once) - delay-ms - delay between invocations of f
(retry-n* f log-description max-retries delay-ms)
execute a fn repeatedly until it succeeds
execute a fn repeatedly until it succeeds - f - a 1-args function of try-count, yielding a promise - max-retries - maximum number of times to re-try f before giving up (if 0 then f will be invoked just once) - delay-ms - delay between invocations of f
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close