(wrap-future fut f)
Wraps a Java Future and applies a function when the result is realized.
Useful for cases where type conversion needs to happen to avoid leaking implementation details back to consumers of the future. Implements all the standard protocols of a Clojure Future, allowing convenient use in existing code.
Wraps a Java Future and applies a function when the result is realized. Useful for cases where type conversion needs to happen to avoid leaking implementation details back to consumers of the future. Implements all the standard protocols of a Clojure Future, allowing convenient use in existing code.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close