Liking cljdoc? Tell your friends :D

babashka.wait


wait-for-pathclj

(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.
sourceraw docstring

wait-for-portclj

(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.
sourceraw docstring

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

× close