(promise->future p)
Given a promise that will either be delivered with {:val x} or {:err t}, returns a future-like object that when dereferenced will either return x or throw t.
Given a promise that will either be delivered with {:val x} or {:err t}, returns a future-like object that when dereferenced will either return x or throw t.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close