| Copyright | (c) Moritz Schulte 2017 |
|---|---|
| License | BSD3 |
| Maintainer | mtesseract@silverratio.net |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Nakadi.Internal.Retry
Description
This module provides the basic retry mechanism via the retry package.
Documentation
retryAction :: (MonadIO m, MonadMask m) => Config -> Request -> (Request -> m a) -> m 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).