Hi Daniel,
Allow me to recommend a couple of libraries:
- promissum (
https://github.com/funcool/promissum) is a composable
promise/future library for Clojure (built on top of jdk8 completable
futures)
- promesa (
https://github.com/funcool/promesa) is a wrapper around the
Bluebird JS promise library
They both integrate nicely with cats (
https://github.com/funcool/cats),
which lets you write asynchronous code like it was synchronous with the
`mlet` macro that desugars into monadic bind. We also have an `alet`
macro that uses applicative bind and thus maximizes concurrency, take a
look at the docs for more details.
cats is also integrated with core.async and manifold libraries, so you
can use the same code regardless of what concrete type you use for
conveying asynchronous values.
Regards,
Al
> email to
clojure+u...@googlegroups.com.
--
Alejandro Gómez
alej...@dialelo.com