Hoogle Search
Within LTS Haskell 24.64 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
cabal-debian Debian.Debianize.DebInfo start-stop-daemon --retry argument
retry :: MonadClient m => RetrySettings -> m a -> m acql-io Database.CQL.IO Use given RetrySettings during execution of some client action.
-
faktory Faktory.Job No documentation available.
-
faktory Faktory.JobOptions No documentation available.
-
faktory Faktory.Pool No documentation available.
retry :: (MonadCatch m, MonadIO m) => RetrySettings -> (RetryStatus -> m a) -> m astamina Stamina Retry on all sync exceptions, async exceptions will still be thrown. The backoff delays between retries grow exponentially plus a random jitter. The backoff for retry attempt number _attempt_ is computed as:
backoffExpBase ** (attempt - 1) + random(0, backoffJitter)
With the default values, the backoff for the first 5 attempts will be:2 ** 0 + random(0, 1) = 1 + random(0, 1) 2 ** 1 + random(0, 1) = 2 + random(0, 1) 2 ** 2 + random(0, 1) = 4 + random(0, 1) 2 ** 3 + random(0, 1) = 8 + random(0, 1) 2 ** 4 + random(0, 1) = 16 + random(0, 1)
If all retries fail, the last exception is let through.retry :: (MonadIO m, MonadCatch m) => RetrySettings -> (RetryStatus -> m a) -> m astamina Stamina.HTTP Retry handler for HTTP requests. Retries a subset of HTTP exceptions and overrides the delay with the Retry-After header if present.
-
streamly Streamly.Internal.Data.Stream.IsStream retry takes 3 arguments
- A map m whose keys are exceptions and values are the number of times to retry the action given that the exception occurs.
- A handler han that decides how to handle an exception when the exception cannot be retried.
- The stream itself that we want to run this mechanism on.
- The stream evaluation aborts
- The exception is looked up in m
-
streamly Streamly.Internal.Data.Stream.Prelude retry takes 3 arguments
- A map m whose keys are exceptions and values are the number of times to retry the action given that the exception occurs.
- A handler han that decides how to handle an exception when the exception cannot be retried.
- The stream itself that we want to run this mechanism on.
- The stream evaluation aborts
- The exception is looked up in m
retry :: forall (b :: Type -> Type) a . Functor b => Wizard b a -> Wizard b awizards 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.