Liking cljdoc? Tell your friends :D

tuneberry.helpers.utils


criterion-metcljs

(criterion-met status msg criterion)

A criterion is a number n that has to match http status or a vector [n re] where, in addition, re has to match a substring of msg. If msg is empty and there is a re specified, function returns false.

A criterion is a number n that has to match http status or a vector [n re]
where, in addition, re has to match a substring of msg. If msg is empty and
there is a re specified, function returns false.
sourceraw docstring

error-orcljs

(error-or f)
source

kwds-enabled?cljs

(kwds-enabled? req kwds)
source

query-map->strcljs

(query-map->str m)
source

redocljs

(redo f pred & opts)

Calls f until pred matches its result from the returned channel or the max-attempts limit is reached. Returns a channel with the result of the last call to f.

If max-attempts is reached, an ExceptionInfo is returned with message error-msg and the last result of f in the data map.

Calls f until pred matches its result from the returned channel or
the max-attempts limit is reached. Returns a channel with the result
of the last call to f.

If max-attempts is reached, an ExceptionInfo is returned with message
error-msg and the last result of f in the data map.
sourceraw docstring

sub-berrycljs

(sub-berry req extra-opts)

Return a new isolated configuration for subtransactions (like polling done while blocking). From the request copy only the common options, and take defaults for the rest. Also, disable the retry functionality (http errors can be returned from subtransactions and handled by the retry middleware from the main transaction).

Return a new isolated configuration for subtransactions (like polling done
while blocking). From the request copy only the common options, and take
defaults for the rest. Also, disable the retry functionality (http errors can
be returned from subtransactions and handled by the retry middleware from the
main transaction).
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close