Quantcast
Channel: Sharing an atom between Clojure and Clojurescript? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by rplevy for Sharing an atom between Clojure and Clojurescript?

$
0
0

Sure, just make requests to a rest API sending data in EDN format, and voila! If you want to avoid polling, consider running your Jetty or Tomcat behind an Nginx instance to make use of the Nginx HTTP Push Module. I have a somewhat cobwebby example here (this was pre-ClojureScript, so I wrote the client in plain JS). And there is also gifsockets.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>