core.async is one of those Clojure features that makes you love asynchronous programming. While not included in Clojure core, it is straight and easy to put into use and makes Clojure's STM a breeze to use. Unfortunately, most of the examples that can be found on
core.async make it a bit hard to see how to connect it and plug things together with the rest of your current code and other frameworks.
This recipe wants to close the gap and help you bring out more
core.async code out there.
This recipe is largely based on
core.async, but we will use a few other libraries. Here's a sample dependencies section for your
:dependencies [ [org.clojure/clojure "1.8.0"] [org.clojure/core.async "0.2.374"] ...