Fork me on GitHub

Has self-hosted CLJS been tested to work correctly in the presence of concurrent evaluations? E.g. when you evaluate behind a click handler or setTimeOut and evaluate code which loads a couple of overlapping namespaces "at the same time"? I don't have a bug, I just want to know if anyone has some details on this.


E.g. is this supposed to work/supported?

(js/setTimeout #(eval '(do (ns foo1) (defn foo []))) 1) 
(js/setTimeout #(eval '(do (ns foo2) (defn foo []))) 1)


I would be ok if it's not, I'm just trying to get information