Welcome! Please see the About page for a little more info on how this works.

+2 votes
in core.async by
edited by

Is it a bug or a technical impossibility to implement a literal meta in cljs version of core.async?

(ns clojurescript-example
   [cljs.core.async :as a]))

(let [x (a/go ^:foo [:x])]
    (prn (meta (a/<! x))))) ;; nil
(ns clojure-example
   [clojure.core.async :as a]))

(let [x (a/go ^:foo [:x])]
    (prn (meta (a/<! x))))) ;; {:foo true}

1 Answer

0 votes