| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Cardano.Logging.Utils
Documentation
threadLabelMe :: String -> IO () Source #
runInLoop :: IO () -> (SomeException -> IO ()) -> Word -> Word -> IO () Source #
Run an IO action which may throw an exception in a loop. On exception, the action will be re-run after a pause. That pause doubles which each exception, but is reset when the action runs long enough.