Liking cljdoc? Tell your friends :D
Clojure only.

franzy.common.async.wrappers


wrap-futureclj

(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.
raw docstring

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

× close