(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |