Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- failApp :: HasCallStack => String -> App a
- getPrekey :: App Value
- getLastPrekey :: App Value
- readServiceConfig :: Service -> App Value
- readServiceConfig' :: String -> App Value
- data Domain
- retryT :: App a -> App a
- liftBool :: Functor f => f Bool -> BoolT f
- unliftBool :: Functor f => BoolT f -> f Bool
- (&&~) :: App Bool -> App Bool -> App Bool
- (||~) :: App Bool -> App Bool -> App Bool
- type BoolT f = MaybeT f ()
Documentation
getLastPrekey :: App Value Source #
retryT :: App a -> App a Source #
Run an action, recoverAll
ing with exponential backoff (min step 8ms, total timeout
~15s). Search this package for examples how to use it.
Ideally, this will be the only thing you'll ever need from the retry package when writing integration tests. If you are unhappy with it, please consider making it more general in a backwards-compatible way so everybody can benefit.