nakadi-client-0.5.0.3: Client library for the Nakadi Event Broker

Copyright(c) Moritz Schulte 2017 2018
LicenseBSD3
Maintainermtesseract@silverratio.net
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Network.Nakadi.Internal.Retry

Description

This module provides the basic retry mechanism via the retry package.

Synopsis

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).