(consume! this key opts)Attempt to consume from the rate limit. Returns {:allowed? boolean :remaining long :reset-at epoch-ms|nil :retry-after-ms long|nil}.
Attempt to consume from the rate limit.
Returns {:allowed? boolean
:remaining long
:reset-at epoch-ms|nil
:retry-after-ms long|nil}.(consume-blocking! this key opts)Blocking variant of consume! that waits until allowed when possible.
Blocking variant of consume! that waits until allowed when possible.
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 |