Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. retry :: (MonadIO m, MonadCatch m) => RetrySettings -> (RetryStatus -> m a) -> m a

    stamina Stamina.HTTP

    Retry handler for HTTP requests. Retries a subset of HTTP exceptions and overrides the delay with the Retry-After header if present.

  2. retry :: forall t (m :: Type -> Type) e a . (IsStream t, MonadCatch m, Exception e, Ord e) => Map e Int -> (e -> t m a) -> t m a -> t m a

    streamly Streamly.Internal.Data.Stream.IsStream

    retry takes 3 arguments

    1. A map m whose keys are exceptions and values are the number of times to retry the action given that the exception occurs.
    2. A handler han that decides how to handle an exception when the exception cannot be retried.
    3. The stream itself that we want to run this mechanism on.
    When evaluating a stream if an exception occurs,
    1. The stream evaluation aborts
    2. The exception is looked up in m
    a. If the exception exists and the mapped value is > 0 then, i. The value is decreased by 1. ii. The stream is resumed from where the exception was called, retrying the action. b. If the exception exists and the mapped value is == 0 then the stream evaluation stops. c. If the exception does not exist then we handle the exception using han. Internal

  3. retry :: forall (m :: Type -> Type) e a . (MonadCatch m, Exception e, Ord e) => Map e Int -> (e -> Stream m a) -> Stream m a -> Stream m a

    streamly Streamly.Internal.Data.Stream.Prelude

    retry takes 3 arguments

    1. A map m whose keys are exceptions and values are the number of times to retry the action given that the exception occurs.
    2. A handler han that decides how to handle an exception when the exception cannot be retried.
    3. The stream itself that we want to run this mechanism on.
    When evaluating a stream if an exception occurs,
    1. The stream evaluation aborts
    2. The exception is looked up in m
    a. If the exception exists and the mapped value is > 0 then, i. The value is decreased by 1. ii. The stream is resumed from where the exception was called, retrying the action. b. If the exception exists and the mapped value is == 0 then the stream evaluation stops. c. If the exception does not exist then we handle the exception using han. Internal

  4. retry :: forall (b :: Type -> Type) a . Functor b => Wizard b a -> Wizard b a

    wizards System.Console.Wizard

    Retry produces a wizard that will retry the entire conversation again if it fails. It is simply retry x = x <|> retry x.

  5. Retry :: ResponseNextStep

    HTTP Network.HTTP.Base

    No documentation available.

  6. module Control.Retry

    This module exposes combinators that can wrap arbitrary monadic actions. They run the action and potentially retry running it with some configurable delay for a configurable number of times. The express purpose of this library is to make it easier to work with IO and especially network IO actions that often experience temporary failure that warrant retrying of the original action. For example, a database query may time out for a while, in which case we should delay a bit and retry the query.

  7. module UnliftIO.Retry

    Unlifted Control.Retry.

  8. module Test.Hspec.Contrib.Retry

    No documentation available.

  9. Retry :: [TVarId] -> Result a

    dejafu Test.DejaFu.Conc.Internal.STM

    The transaction aborted by calling retry, and read the returned TVars. It should be retried when at least one of the TVars has been mutated.

  10. Retry :: Resources a b

    TCache Data.TCache

    forces a retry

Page 3 of many | Previous | Next