Liking cljdoc? Tell your friends :D
Mostly cljs.
Exceptions indicated.

com.potetm.fusebox.cljs.timeout


disablecljs

(disable spec)
source

initcljs

(init {_to :com.potetm.fusebox.cljs.timeout/timeout-ms :as spec})

Initialize a Timeout.

spec is a map containing: ::timeout-ms - millis to wait before timing out

Initialize a Timeout.

spec is a map containing:
  ::timeout-ms - millis to wait before timing out
sourceraw docstring

shutdowncljs

(shutdown spec)
source

with-timeoutclj/smacro

(with-timeout bindings|spec & [spec|body & body :as b])

Evaluates body which returns a promise, throwing ExceptionInfo if lasting longer than specified.

spec is the return value of init.

Evaluates body which returns a promise, throwing ExceptionInfo if lasting
longer than specified.

spec is the return value of init.
sourceraw docstring

with-timeout*cljs

(with-timeout* {to :com.potetm.fusebox.cljs.timeout/timeout-ms :as spec} f)
source

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

× close