| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Calamity.HTTP.Internal.Ratelimit
Description
Module containing ratelimit stuff
Documentation
doRequest :: Members '[RatelimitEff, TokenEff, LogEff, Embed IO] r => RateLimitState -> Route -> IO LbsResponse -> Sem r (Either RestError ByteString) Source #
data RatelimitEff m a where Source #
Constructors
| GetRatelimitState :: RatelimitEff m RateLimitState |
Instances
| type DefiningModule (RatelimitEff :: k -> Type -> Type) Source # | |
Defined in Calamity.HTTP.Internal.Ratelimit | |
getRatelimitState :: forall r. MemberWithError RatelimitEff r => Sem r RateLimitState Source #