
I am pleased to announce the first release of the "immortal" package. Immortal allows you to create threads that never die. If the action executed by such a thread finishes or is killed by an exception, it is automatically restarted. Such a behavior is often desired when writing servers, so I decided to release a package that does exactly that. http://hackage.haskell.org/package/immortal https://github.com/feuerbach/immortal Roman

On Sat, Aug 09, 2014 at 03:57:28PM +0300, Roman Cheplyaka wrote:
I am pleased to announce the first release of the "immortal" package.
Immortal allows you to create threads that never die. If the action executed by such a thread finishes or is killed by an exception, it is automatically restarted.
Such a behavior is often desired when writing servers, so I decided to release a package that does exactly that.
http://hackage.haskell.org/package/immortal https://github.com/feuerbach/immortal
This is excellent! I've written this myself a few times now and it's always fiddly. Thank you. I'll almost certainly use this, after a bit of review.
participants (2)
-
Christian Marie
-
Roman Cheplyaka