Fork me on GitHub
#planck
<
2017-04-14
>
cgrand19:04:33

@mfikes @anmonteiro is there a reason to make eval takes a callback? The compiler doing some async in?

mfikes19:04:48

@cgrand In Planck’s case, everything has been sync so far. It appears that the primary reason for async in self-hosted ClojureScript is to allow environments to satisfy *load-fn* asynchronously (perhaps loading across the wire)

cgrand19:04:02

Ok that's what I thought. Thanks

anmonteiro19:04:46

it could also be synchronous in Lumo

anmonteiro20:04:21

the cljs.js API is meant to support the wide variety of JS engines though

anmonteiro20:04:24

which means it’s async