(->http-method http-method)(poll-until {:keys [url http-method params polling-successful-when
polling-interval try-count max-tries on-poll
on-polling-success on-polling-timeout on-polling-error]
:or {http-method :get
params {}
polling-interval 2
try-count 0
max-tries 5
on-poll (fn [])
on-polling-timeout (fn [])
on-polling-error (fn [_])}
:as polling-params})(request {:keys [url http-method params on-request-start on-successful-request
on-request-error]
:or {http-method :post
params {}
on-request-start (fn [])
on-successful-request (fn [])
on-request-error (fn [_])}})(request-then-poll &
{{:keys [on-successful-request]
:or {on-successful-request (fn [])}
:as initial-request}
:initial-request
polling-params :polling})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 |