Replace monad-control with unliftio-core. As a result, immortal will no longer work with stateful monads like StateT, which is considered a feature.
Fix the README
Add onUnexpectedFinish
Add wait
and wait-stm
functions
- Pass a
Thread
handle to the thread itself - Add
mortalize
,immortalize