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 builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close