(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
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close