MichaelDrogalis / dire

Erlang-style supervisor error handling for Clojure
483 stars 20 forks source link

post-hook #8

Closed MichaelDrogalis closed 11 years ago

MichaelDrogalis commented 11 years ago

with-finally is good for some post-hook situations, but sometimes we want code to execute only if the target function succeeded. post-hook should run just before the value of the target function is returned.

MichaelDrogalis commented 11 years ago

Shipped in 0.4.4.