News for hackers. Stuff that matters.
Re:Callbacks are imperative, promises are functional by dschobel on Sunday March 31, 2013 @12:23AM (#5467697)
if you want this on the JVM today and can abide Scala, see: http://doc.akka.io/docs/akka/snapshot/scala/dataflow.html
Re:Callbacks are imperative, promises are functional by spullara on Sunday March 31, 2013 @02:27AM (#5467914)
The Twitter solution I mention above is in Scala — that said, I have one that also works in JDK 6/7 in a branch of https://github.com/spullara/java-future-jdk8.