Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Think of an actor that does not process any messages and simply interrupts between each iteration to check whether it's still alive.
Acquisition
Configuration of the daemon behaviour.
forall state. Config | |
|
spawn :: Config -> IO Daemon Source #
Fork a thread to run the daemon loop on returning immediately with a handle to control it.