Skip to main content

wait-for-path

function

babashka.wait/wait-for-path

(wait-for-path [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.

No examples yet. Be the first to add one!