Liking cljdoc? Tell your friends :D

eval-soup.clojail


thunk-timeoutclj

(thunk-timeout thunk ms)
(thunk-timeout thunk time unit)
(thunk-timeout thunk time unit tg)

Takes a function and an amount of time to wait for thse function to finish executing. The sandbox can do this for you. unit is any of :ns, :us, :ms, or :s which correspond to TimeUnit/NANOSECONDS, MICROSECONDS, MILLISECONDS, and SECONDS respectively.

Takes a function and an amount of time to wait for thse function to finish
executing. The sandbox can do this for you. unit is any of :ns, :us, :ms,
or :s which correspond to TimeUnit/NANOSECONDS, MICROSECONDS, MILLISECONDS,
and SECONDS respectively.
raw docstring

uglify-time-unitclj

Create a map of pretty keywords to ugly TimeUnits

Create a map of pretty keywords to ugly TimeUnits
raw docstring

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

× close