I made a ClojureScript library for working with JavaScript promises:

https://github.com/jamesmacaulay/cljs-promises

It works with core.async and the power of the `go` macro to give you 
synchronous-like expressivity and error handling backed by JavaScript's 
now-native* Promise semantics.

Why on earth should we care about boring old promises in a core.async world? 
That's a very good question and I provide a detailed answer in the README:

https://github.com/jamesmacaulay/cljs-promises#rationale

Cheers!
James

* yup, in Chrome and soon other browsers, and easily polyfillable: 
http://www.html5rocks.com/en/tutorials/es6/promises/

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to