Fork me on GitHub
#aleph
<
2017-08-10
>
miikka06:08:47

@ztellman, what's the difference between using manifold.deferred/timeout! and clojure.core/deref timeout?

dm307:08:55

@miikka deferred/timeout! will make the deferred return the supplied “timeout” value when derefed. In other words it transfers the deferred into ready state. clojure.core/deref only tries to look inside a derefable and doesn’t change its value or state.