Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data TpsThrottle Source #
TpsThrottle | |
|
newTpsThrottle :: Int -> Int -> TPSRate -> IO TpsThrottle Source #
consumeTxsBlocking :: TpsThrottle -> Req -> IO (Step, Int) Source #
consumeTxsNonBlocking :: TpsThrottle -> Req -> IO (Step, Int) Source #