(block-on func args)
(block-on func
args
{:as opts
:keys [interval timeout]
:or {interval 50 timeout Double/POSITIVE_INFINITY}})
Repeatedly apply func to args until a non-nil value is returned.
Options can include any of the following keys:
:interval - sets the interval between function applications (default 50) :timeout - sets the maximum amount of time blocking will occur before returning nil
Repeatedly apply func to args until a non-nil value is returned. Options can include any of the following keys: :interval - sets the interval between function applications (default 50) :timeout - sets the maximum amount of time blocking will occur before returning nil
(parse-key k)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close