Closed
Description
The docs for pubSubForever
use forkIO
:
hedis/src/Database/Redis/PubSub.hs
Line 548 in f3ce898
but that's probably not what we want to be using.
For example, if the forked thread crashes, the other threads will not notice.
Could we recommend using
withAsync
instead?
See the docs here for more details on both the problem and the solution: http://hackage.haskell.org/package/async-2.2.3/docs/Control-Concurrent-Async.html
cc @vidocco
Metadata
Metadata
Assignees
Labels
No labels