We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f886bd commit f2d2ec8Copy full SHA for f2d2ec8
examples/src/aleph/examples/http.clj
@@ -52,8 +52,8 @@
52
;; deferred, we extend Compojure's `Renderable` protocol to pass the deferred
53
;; through unchanged so it can be handled asynchronously.
54
(extend-protocol Renderable
55
- manifold.deferred.IDeferred
56
- (render [d _] d))
+ clojure.lang.IDeref
+ (render [d _] (d/->deferred d)))
57
58
(defn delayed-hello-world-handler
59
"Alternately, we can use a [core.async](https://github.com/clojure/core.async) goroutine to
0 commit comments