title: How to listen to a Clojure promise when it is was realized or failed?
body: <p>I have a Clojure promise. When it's realized or fails I'd like to fire an action. How to do it in Clojure?</p>
  
  <p>Here: <a href="http://dev.clojure.org/display/design/Promises" rel="nofollow">http://dev.clojure.org/display/design/Promises</a> <code>then</code> and <code>recover</code> is described which should give a possibility to define such callbacks, but it is not in the clojure core as I see it.</p>