0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00

Implement IDeref for Rsp type.

This commit is contained in:
Andrey Antukh 2016-11-21 18:13:59 +01:00
parent c0aa4a042f
commit 5477909d4d
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -38,6 +38,9 @@
(= etag new-tag))))
(deftype Rsp [data]
clojure.lang.IDeref
(deref [_] data)
ch/ISend
(-send [_ ctx]
(let [^Response response (ctx/get-response* ctx)