(wait-for-path path)
(wait-for-path path {:keys [:default :timeout :pause] :as opts})
Waits for file path to be available. Options map supports :default
,
:timeout
and :pause
. If :timeout
is provided and reached, :default
's
value (if any) is returned. The :pause
option determines the time waited
between retries.
Waits for file path to be available. Options map supports `:default`, `:timeout` and `:pause`. If `:timeout` is provided and reached, `:default`'s value (if any) is returned. The `:pause` option determines the time waited between retries.
(wait-for-port host port)
(wait-for-port host port {:keys [:default :timeout :pause] :as opts})
Waits for TCP connection to be available on host and port. Options map
supports :timeout
and :pause
. If :timeout
is provided and reached,
:default
's value (if any) is returned. The :pause
option determines
the time waited between retries.
Waits for TCP connection to be available on host and port. Options map supports `:timeout` and `:pause`. If `:timeout` is provided and reached, `:default`'s value (if any) is returned. The `:pause` option determines the time waited between retries.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close