And if you want async web frameworks, Pedestal supports core.async. You just return a channel as a response body and it assumes that you will eventually pipe your data down that channel.
Timothy On Mon, Jan 5, 2015 at 6:09 PM, David James <davidcja...@gmail.com> wrote: > In case you are interested in a recent example, I wrote an NIO.2 based > Riak client in Clojure without Netty. > https://github.com/bluemont/kria > > It uses callback functions, so the consumer can do whatever they want; > such as core.async. > > I agree with Timothy, above. My take-away from the experience is that > core.async does not need to be *baked into* a library. It is better if it > is not; for testing the library, I use atoms: > https://github.com/bluemont/kria/blob/master/test/kria/test_helpers.clj#L45 > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- “One of the main causes of the fall of the Roman Empire was that–lacking zero–they had no way to indicate successful termination of their C programs.” (Robert Firth) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.