core.async and Transducers target some of this, although in a slightly
different way. Instead of clojure.core/future, you can use
core.async/thread or core.async/go. Instead of flatMap, you can use a `map`
Transducer on a channel or in a core.async/pipeline.
–S
On Monday, October 26, 2015 at 6
Amazing feedback everyone. Thank you.
--
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 unsubscrib
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 librar
Here are some discussions around the issue:
http://stackoverflow.com/questions/31832599/future-failure-in-clojure
~ Chris
On 27/10/2015 9:46 AM, Daniel Hinojosa wrote:
I am looking for a functional, non-blocking way to process the return
of a future. In the Scala world, you can use map, flat
See also: Zach Tellman's "Manifold"
http://aleph.io/manifold/rationale.html
http://aleph.io/manifold/deferreds.html
--
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 n
Hi Daniel,
Since you're used to Scala futures, you might find this library easy to get
started with:
https://github.com/leonardoborges/imminent (A composable Futures library
for Clojure)
The next release will also include ClojureScript support.
Cheers,
Leonardo Borges
www.leonardoborges.com
On
I am looking for a functional, non-blocking way to process the return of a
future. In the Scala world, you can use map, flatMap, and foreach to
process the return values of a future asynchronously. In Clojure,
dereferencing blocks, so that makes it kind of rough since we have to set
up our con