re-share.core

Common re-ops functions

curr-time

(curr-time)

enable-waits

(enable-waits)

error-m

(error-m e)

find-port

(find-port from to)
find the first available port within a given range

flag

md5

(md5 s)

stop-waits

(stop-waits)

wait-for

(wait-for {:keys [timeout sleep], :or {sleep [100 :ms]}, :as timings} pred message)
A general wait for pred function
(wait-for {:timeout [1 :minute] #() "waiting for nothing failed")}