Copyright | (c) Moritz Schulte 2017 2018 |
---|---|
License | BSD3 |
Maintainer | mtesseract@silverratio.net |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module provides the basic retry mechanism via the retry package.
Documentation
retryAction :: (MonadIO b, MonadMask b) => Config b -> Request -> (Request -> b a) -> b a Source #
Try to execute the provided IO action using the provided retry
policy. If executing the IO action raises specific exceptions of
type HttpException
, the action will be potentially retried
(depending on the retry policy).