Re: how to be notified when a Future is realized?

2017-08-02 Thread Alf
Imminent looks pretty good, I was not aware of it. We use Manifold, because we use Aleph, both of which we think are great. Manifold also has a nice integration with core.async. Cheers, Alf On Wednesday, 2 August 2017 23:39:15 UTC+2, Leonardo Borges wrote: > > I created imminent for this purpos

Re: Migrating nREPL out of Clojure Contrib

2017-08-02 Thread Bozhidar Batsov
So, what's the next step here? On 23 July 2017 at 02:16, Colin Fleming wrote: > Are you saying the contrib process is deliberatly made to be difficult for >> the community to contribute to it? > > > No, not at all, just that it's deliberately designed to be exactly the way > it is, so dedicating

Re: how to be notified when a Future is realized?

2017-08-02 Thread Leonardo Borges
I created imminent for this purpose : https://github.com/leonardoborges/imminent It's based on Java's completable futures. I've written an extensive README in the repo. Have a look, it might be useful for your case. Cheers, Leonardo Borges On 3 Aug. 2017 7:19 am, "Justin Smith" wrote: for thi

Re: how to be notified when a Future is realized?

2017-08-02 Thread Justin Smith
for this sort of logic, I use core.async go blocks containing a call to core.async/thread, doing some other operation asynchronously with the value in the channel it returns (go (let [result (https://gist.github.com/noisesmith/02ee2ee5dcb8c0290bd8004c4c4d36aa On Wed, Aug 2, 2017 at 2:09 PM wro

how to be notified when a Future is realized?

2017-08-02 Thread lawrence . krubner
I stumbled across this old post by Tomasz Nurkiewicz: http://www.nurkiewicz.com/2013/03/promises-and-futures-in-clojure.html He writes: "And here is where the greatest disappointment arrives: neither future nor promise