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
  (:require
   [cljs.core.async :as a]))

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

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

1 Answer

0 votes
by
...