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 58ccbff commit 7cc715aCopy full SHA for 7cc715a
src/main/clojure/clojure/core/async/impl/channels.clj
@@ -309,8 +309,10 @@
309
ManyToManyChannel
310
(datafy [c]
311
(let [b (.buf c)]
312
- (cond->
313
- {:put-count (count (.puts c))
314
- :take-count (count (.takes c))
315
- :closed? (impl/closed? c)}
316
- b (assoc :buffer (clojure.datafy/datafy b))))))
+ (with-meta
+ (cond->
+ {:put-count (count (.puts c))
+ :take-count (count (.takes c))
+ :closed? (impl/closed? c)}
317
+ b (assoc :buffer (datafy/datafy b)))
318
+ {::datafy/obj c}))))
0 commit comments