mirror of
https://github.com/penpot/penpot.git
synced 2025-07-19 11:07:22 +02:00
Implement IDeref for Rsp type.
This commit is contained in:
parent
c0aa4a042f
commit
5477909d4d
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@
|
||||||
(= etag new-tag))))
|
(= etag new-tag))))
|
||||||
|
|
||||||
(deftype Rsp [data]
|
(deftype Rsp [data]
|
||||||
|
clojure.lang.IDeref
|
||||||
|
(deref [_] data)
|
||||||
|
|
||||||
ch/ISend
|
ch/ISend
|
||||||
(-send [_ ctx]
|
(-send [_ ctx]
|
||||||
(let [^Response response (ctx/get-response* ctx)
|
(let [^Response response (ctx/get-response* ctx)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue